hello Michael.  Here is a demonstration of the issue I'm seeing, using 
audiorecord with
two audio devices on the same machine.  The audio1 device is a USB C-Media  
audio dongle.

The audio0 device is a Realtek, Product ID: 0255, built into this Dell Optiplex 
5050 desktop
machine.

        Hopefully, this bug was a transient one that has been fixed in newer 
kernels.  
I'll try to do more testing now that you folks have reported that you're 
getting data from
your audio devices.  


Thanks for the help and the confirmation that things are working in -current.
-Brian

%audiorecord -d /dev/sound1 -s 44100 -c 2 -P 16 -e slinear_le -t 1:30 -V 
test1.wav
sample_rate=44100 channels=2 precision=16 encoding=slinear_le
recording for 90 seconds, 0 microseconds
audiorecord: read failed: Undefined error: 0
Oct 27 11:54:46 mirkwood /netbsd: [ 510110.9126614] audio1: device timeout


%audiorecord -d /dev/sound0 -s 44100 -c 2 -P 16 -e slinear_le -t 1:30 -V 
test1.wav
sample_rate=44100 channels=2 precision=16 encoding=slinear_le
recording for 90 seconds, 0 microseconds
audiorecord: read failed: Resource temporarily unavailable
Oct 27 11:57:31 mirkwood /netbsd: [ 510276.2426610] audio0: device timeout

Reply via email to