diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2015-08-15 01:19:43 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-16 09:48:47 +0300 |
commit | 395ae54bd8775508a9616817188cabbcd6f53260 (patch) | |
tree | de6bdb631be10f249c341ee86c056d6a00ae6f97 /sound/pci | |
parent | 630184477e7eccb2b31ee4c20b6905ca5fa4b3a8 (diff) | |
download | linux-395ae54bd8775508a9616817188cabbcd6f53260.tar.xz |
ALSA: usb: handle descriptor with SYNC_NONE illegal value
The M-Audio Transit exposes an interface with a SYNC_NONE attribute.
This is not a valid value according to the USB audio classspec. However
there is a sync endpoint associated to this record. Changing the logic to
try to use this sync endpoint allows for seamless transitions between
altset 2 and altset 3. If any errors happen, the behavior remains the same.
$ more /proc/asound/card1/stream0
M-Audio Transit USB at usb-0000:00:14.0-2, full speed : USB Audio
Playback:
Status: Stop
Interface 1
Altset 1
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (ADAPTIVE)
Rates: 48001 - 96000 (continuous)
Interface 1
Altset 2
Format: S24_3LE
Channels: 2
Endpoint: 3 OUT (NONE)
Rates: 8000 - 48000 (continuous)
Interface 1
Altset 3
Format: S16_LE
Channels: 2
Endpoint: 3 OUT (ASYNC)
Rates: 8000 - 48000 (continuous)
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions