At Sun, 19 Oct 2008 11:36:35 +0200, =?UTF-8?Q?Vedran_Mileti=C4=87?= wrote:
I have: 01:0a.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01) Subsystem: TERRATEC Electronic GmbH PHASE 22 Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at c880 [size=32] I/O ports at c800 [size=128] Capabilities: [80] Power Management version 1 Kernel driver in use: ICE1724 Kernel modules: snd-ice1724 I do this: mplayer -ao alsa:device=hw=1.0 -srate 44100 -format s32le get_video Before the song ends, last sample loops for about 20-30 times, and then mplayer quits with error: alsa-lib: pcm_hw.c:488:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed: Input/output error
This doesn't happen on sound-2.6 and doesn't happen on sound-unstable-2.6 with E-mu 1212m.
A suspicious commit is the one in topic/test branch,
commit 442dac7e02a835944bd4d6e429d0b4a2446e0204 Author: Takashi Iwai tiwai@suse.de Date: Tue Aug 12 13:39:02 2008 +0200
ALSA: Allow drain ioctl for non-blocking mode
Could you try to revert this commit?
thanks,
Takashi