Skip to content

Conversation

@jackinloadup
Copy link

fixes #52 I believe

@graysky2 graysky2 force-pushed the master branch 2 times, most recently from 6242df0 to 4115a1c Compare September 12, 2019 19:27
Copy link

@imustafin imustafin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just wanted to send a similar PR :)

@jackinloadup @graysky2 indeed this should fix #52 and that issue is a real problem.

My headset is mono and I have a similar problem to #52.

My headset has no Front {Left, Right} channels and has only Mono channel:

  * index: 2
	name: <alsa_output.usb-Razer_Razer_Nari-00.mono-fallback>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9040
	volume: mono: 25658 /  39% / -24.44 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537

Compared to stereo

    index: 1
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 30419 /  46% / -20.00 dB,   front-right: 30419 /  46% / -20.00 dB
	        balance 0.00

Thus this PR should fix the problem.

@graysky2 graysky2 force-pushed the master branch 3 times, most recently from bb1dbd9 to 1eb2a0c Compare May 9, 2021 14:10
@somini somini mentioned this pull request Nov 17, 2021
Correct awk expression

Co-authored-by: Ilgiz Mustafin <imustafin@users.noreply.github.com>
@jackinloadup
Copy link
Author

Apologies for the hiatus. Please comment if this issue is still relevant and I'll put in the time to resolve the conflict and test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/usr/bin/pulseaudio-ctl: line 194: 5 + : syntax error: operand expected (error token is "+ ")

2 participants