Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /usr/share/alsa/ucm2/codecs/es8316/ drwxr-xr-x | |
| Viewing file: Select action/file-type: SectionDevice."Speaker" {
Comment "Mono Speaker"
ConflictingDevice [
"Headphones"
]
EnableSequence [
# BYT/CHT devices with an ES8316 codec use a single speaker
# connected between the headhpone LOUT and ROUT pins, expecting
# the output to be in a mono differential mode. Presumably this
# is done to use the power of both the left and right headphone
# amplifier channels to allow the speaker to be louder.
#
# The ES8316 codec does not have a differential output mode, but
# we can emulate one by making both channels output the exact
# same signal by setting the "DAC Mono Mix Switch", combined
# with setting the "Playback Polarity" control to "R Invert",
# which applies a 180 degrees phase inversion to the right chan.
cset "name='DAC Mono Mix Switch' on"
cset "name='Playback Polarity' 1"
cset "name='Speaker Switch' on"
]
DisableSequence [
cset "name='Speaker Switch' off"
# DAC settings back to normal for stereo headphones output
cset "name='Playback Polarity' 0"
cset "name='DAC Mono Mix Switch' off"
]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
# The es8316 only has a HP-amp which is muxed to the speaker
# or to the headpones output
PlaybackMixerElem "Headphone Mixer"
PlaybackMasterElem "DAC"
}
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]-- |