linux/sound/usb
Takashi Iwai 48779a0b8f ALSA: usb-audio: fix delay account during pause
When a playback stream is paused, the stream isn't actually stopped,
thus we still need to take care of the in-flight data amount for the
delay calculation.  Otherwise the value of subs->last_delay is no
longer reliable and can give a bogus value after resuming from pause.
This will result in "delay: estimated XX, actual YY" error messages.

Also, during pause after all in flight data are processed
(i.e. last_delay = 0), we don't have to calculate the actual delay
from the current frame.  Give a short path in such a case.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-11-23 16:07:11 +01:00
..
6fire ALSA: usb/6fire: Fix potential NULL pointer dereference in comm.c 2012-11-21 10:43:52 +01:00
caiaq ALSA: snd-usb-caiaq: initialize card pointer 2012-06-27 12:26:19 +02:00
misc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound 2012-01-12 08:00:30 -08:00
usx2y mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
card.c ALSA: usb-audio: Deprecate async_unlink option 2012-11-21 11:37:40 +01:00
card.h ALSA: usb-audio: Fix races at disconnection 2012-10-30 11:06:54 +01:00
clock.c ALSA: snd-usb: fix clock source validity index 2012-08-01 10:24:16 +02:00
clock.h
debug.h
endpoint.c ALSA: usb-audio: stop both data and sync endpoints asynchronously 2012-11-21 11:43:56 +01:00
endpoint.h ALSA: usb-audio: stop both data and sync endpoints asynchronously 2012-11-21 11:43:56 +01:00
format.c ALSA: usb-audio: Return meaningful error codes instead of -1 in format.c 2012-11-21 11:31:52 +01:00
format.h
helper.c ALSA: snd-usb: Add quirks for Playback Designs devices 2012-09-04 11:31:14 +02:00
helper.h
Kconfig ALSA: sound/usb: remove CONFIG_EXPERIMENTAL 2012-10-25 00:17:47 +02:00
Makefile
midi.c ALSA: ua101, usx2y: fix broken MIDI output 2012-11-18 17:15:24 +01:00
midi.h
mixer_maps.c ALSA: snd_usb_audio: ignore ctrl errors on QuickCam Pro for Notebooks 2012-06-20 08:29:08 +02:00
mixer_quirks.c ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c 2012-10-30 11:07:05 +01:00
mixer_quirks.h
mixer.c ALSA: usb-audio: Use rwsem for disconnect protection 2012-10-30 11:07:00 +01:00
mixer.h ALSA: usb-audio: Rename and export mixer_vol_tlv 2012-04-24 08:01:27 +02:00
pcm.c ALSA: usb-audio: fix delay account during pause 2012-11-23 16:07:11 +01:00
pcm.h
power.h
proc.c ALSA: usb-audio: Fix races at disconnection 2012-10-30 11:06:54 +01:00
proc.h
quirks-table.h ALSA: usb-audio: Add quirk for Focusrite Scarlett 18i6 2012-11-13 09:47:13 +01:00
quirks.c ALSA: snd-usb: Add quirks for Playback Designs devices 2012-09-04 11:31:14 +02:00
quirks.h ALSA: snd-usb: Add quirks for Playback Designs devices 2012-09-04 11:31:14 +02:00
stream.c ALSA: usb-audio: Fix races at disconnection 2012-10-30 11:06:54 +01:00
stream.h
usbaudio.h ALSA: usb-audio: Deprecate async_unlink option 2012-11-21 11:37:40 +01:00