[pulseaudio-tickets] [Bug 101944] Pulseaudio doesn't list all devices profiles that are listed by alsa

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 31 06:27:34 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101944

--- Comment #5 from Stéphane <mathojojo at gmail.com> ---
> It looks like the S16_LE format is not supported by the card. Maybe
> PulseAudio is failing due to wrong format too? I would expect PulseAudio to
> switch to the correct format automatically, but maybe PA is not as smart as
> I think.
> 
> What does "aplay -Dfront:Ultra -f cd /dev/zero" print? I expect it to fail
> due to an unavailable format, and list the formats that are available.


aplay -Dfront:Ultra -f cd /dev/zero
Lecture données brutes '/dev/zero' : Signed 16 bit Little Endian, Fréquence
44100 Hz, Stéréo
aplay: set_params:1233: Ce format d'échantillonage n'est pas disponible
Available formats:
- S24_3LE

Testing with :
"aplay -Dfront:Ultra -f S24_3LE -c7 -r48000 /dev/zero"

Lecture données brutes '/dev/zero' : Signed 24 bit Little Endian in 3bytes,
Fréquence 48000 Hz, 7 Canaux
aplay: set_params:1239: Nombre de canaux non disponible

(the last line mean : Number of channels unavailable)

AND

Testing with :
"aplay -Dsurround71:Ultra -f S24_3LE -c7 -r48000 /dev/zero"

Lecture données brutes '/dev/zero' : Signed 24 bit Little Endian in 3bytes,
Fréquence 48000 Hz, 7 Canaux

No error in this case.

So the problem might come from an undefined number of channels for all
profiles, but surround71.

Is it possible to change that ? where ? (Pulseaudio, alsa, alsa driver
snd-audio-usb ???).

I have the feeling the problem could be easy to resolve, but I may be wrong :).

Anyway, thank you for the help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20170731/0bceb517/attachment-0001.html>


More information about the pulseaudio-bugs mailing list