Re: snd-usb-audio : issue sending "set sample freq"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yves,

On 22.04.2013 18:20, Yves G wrote:
> I work with a partner who is a USB headset manufacturer.
> Recently, they made a change to the firmware of one of their USB
> headsets and now the default playing sampling rate is 16kHz instead of
> 48kHz. This device supports only 16kHz and 48kHz for output sample rates.
> Now, when using alsa, we can't play anything on this device but 16kHz
> samples.
> Previously, when the device's default output sample frequency was 48kHz,
> everything seemed OK (though I must admit that I did not try to play
> 16kHz samples then. And I can't downgrade the firmware so I can't do the
> test)

I suspect there was always something wrong on the firmware side, and the
changed default just brought it to the surface.

> We recorded USB packets and we compared Linux and Windows traces.
> When under Windows, we can see that a USB packet to set the device
> sampling rate is sent (even if the default sampling rate freq is already
> 48kHz. The USB packet is "Set Cur", "Endpoint=3-OUT
> CS=SAMPLING_FREQ_CONTROL").

Please show the contents of /proc/asound/cardX/stream0.

> When under Linux using Alsa, the message is never sent.

Maybe because the descriptors don't allow that. Please post the output
of 'lsusb -v'.

> I have access to the firmware engineer at the partner's, so if there is
> something to correct or implement in the firmware, this may be doable.

That's good. Is this device already shipping or can we expect the
firmware to get fixed before that happens?


Thanks,
Daniel


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux