[pulseaudio-tickets] [Bug 49664] New: pa_modargs_get_sample_spec_and_channel_map() should not fail when only a "channel_map" argument is given.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue May 8 19:51:20 PDT 2012
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: pulseaudio-bugs at lists.freedesktop.org
ReportedBy: tanuk at iki.fi
QAContact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
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.
More information about the pulseaudio-bugs
mailing list