https://bugs.freedesktop.org/show_bug.cgi?id=49664
Bug #: 49664
Summary: pa_modargs_get_sample_spec_and_channel_map() should
not fail when only a "channel_map" argument is given.
Classification: Unclassified
Product: PulseAudio
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: core
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
CC: [email protected]
This fails:
pactl load-module module-null-sink channel_map=aux0,aux1,aux2,aux3
Thid doesn't fail:
pactl load-module module-null-sink channel_map=aux0,aux1,aux2,aux3 channels=4
Both should succeed. In the first case it's obvious that the intended amount of
channels is 4. The problem is that pa_modargs_get_sample_spec_and_channel_map()
fails if "channels" is not given and the default sample spec channels don't
match the given channel map. pa_modargs_get_sample_spec_and_channel_map() needs
to be smarter than that.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs