> > > What kernel version?
> > >
> > > Bad things will happen if you disconnect a USB
> audio device during
> > > playback.
> > >
> >
> > USB was supposed to be hot-pluggable.
> >
> > Bug in the audio HW, kernel or ALSA ?
> >
> > No bad things (except for data corruption) should
> ever happen
> > if a hot-pluggable device is disconnected.
> >
> > For example, my external hard drive sometimes
> incidentally powered
> > of because of loose connector on the box, thus
> disconnected.
>
> I don't know. XMMS is not ideal for testing.
My mistake, XMMS works if I select the emu10k1 device.
aplay tells me "aplay: set_params:882: Sample format
non available" on the USB card if I specify it with
the -D option, but it works automagically if I don't
specify any device.
> What happens if you disconnect the device while
> "aplay" is playing a
> file, then replug it and "aplay" the same file
> again?
>
> Lee
If I unplug it while aplay is playing then aplay says
"underrun!!! (at least 0.053 ms long)". I need to kill
all programs that use alsa (like kmix) before the USB
card can be used again, aplay works properly after
this.
Cheers!
-Taiyo
___________________________________________________________
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease
of use." - PC Magazine
http://uk.docs.yahoo.com/nowyoucan.html
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user