Private
Server IP : 195.201.23.43  /  Your IP : 3.129.194.130
Web Server : Apache
System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64
User : kdecoratie ( 1041)
PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/alsa/ucm2/codecs/rt5651/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/alsa/ucm2/codecs/rt5651/MonoSpeaker.conf
SectionDevice."Speaker" {
	Comment "Mono Speaker"

	ConflictingDevice [
		"Headphones"
	]

	EnableSequence [
		# On most (all?) devices with a single / mono speaker an
		# amplifier with a differential input connected between LOUT
		# right and left is used. We deal with this by silencing the
		# right output and mixing left + right to the left output.
		#
		# An alternative approach for devices using the differential
		# setup would be to set bit 15 of register 5 in the codec,
		# which turns the stereo unbalanced line out into a mono
		# balanced line out.
		#
		# This possibility was discovered after we already shipped the
		# current solution and the current solution has the advantage
		# of also working on devices which only use LOUT left in
		# unbalanced mode. The net result is the same for devices using
		# the differential setup, so we just stick with what we have.
		cset "name='Stereo DAC MIXR DAC R1 Switch' off"
		cset "name='Stereo DAC MIXL DAC R1 Switch' on"

		cset "name='Speaker Switch' on"
		cset "name='LOUT L Playback Switch' on"
		# Done after turning the speaker on to keep the bias and clk on
		cset "name='Headphone Switch' off"
		cset "name='HPO L Playback Switch' off"
		cset "name='HPO R Playback Switch' off"
	]

	DisableSequence [
		# Disabling the  switches is done by the Speaker EnableSeq

		# Undo mono mapping
		cset "name='Stereo DAC MIXL DAC R1 Switch' off"
		cset "name='Stereo DAC MIXR DAC R1 Switch' on"
	]

	Value {
		PlaybackPriority 100
		PlaybackPCM "hw:${CardId}"
	}
}
Private