Re: /dev/audio: Device busy

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexandre Ratchov
Date: Sunday, October 4, 2009 - 9:02 am

On Fri, Oct 02, 2009 at 02:33:27PM -0700, Buzzer wrote:

Here are the steps you asked for:

 * read sb(4) and notice that your hardware is not completely
   full-duplex in 16-bit mode:

     With a SoundBlaster 16 card the device is full duplex, but it can only
     sensibly handle a precision of 8 bits.  It does so by extending the out-
     put 8 bit samples to 16 bits and using the 8 bit DMA channel for input
     and the 16 bit channel for output.

 * read aucat(1) and figure out how to start it in
   play-only server mode 

     -l      Listen for incoming connections on Unix domain sockets.  This al-
             lows clients to use aucat instead of the regular audio(4) device
             for audio input and output in order to share the physical device
             with other clients.  The default socket name is default but other
             names can be used with the -s option.

     -m mode
             Set the server mode.  Valid modes are play, rec, and duplex, for
             play-only, record-only, and full-duplex, respectively.  The de-
             fault is duplex.

   Hint: you probably need ``-l -m play''

 * start it, and play any file to check that it worked,
   possibly read again aucat(1). Hint:

     -i file
             Add this file to the list of files to play.  If the option argu-
             ment is `-' then standard input will be used.


 * if it still doesn't work, search in the archives and
   see if anybody else has the solution of the same or
   related problems

 * if it still doesn't work, check whether related problems were
   solved in -CURRENT, possibly try -CURRENT

 * if it still doesn't work, send a *friendly* e-mail to the list
   showing that you've read the manual, that you understand
   the manual, that you have done what's explained in the
   manual.

 * possibly share the solution you've found, possibly improve the FAQ.

To summarize, just type:

	$ aucat -l -m play

and check that it works:

	$ aucat -i whatever.wav

-- Alexandre
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
/dev/audio: Device busy, Buzzer, (Thu Oct 1, 7:33 pm)
Re: /dev/audio: Device busy, David Hoskin, (Thu Oct 1, 8:22 pm)
Re: /dev/audio: Device busy, Buzzer, (Thu Oct 1, 8:49 pm)
Re: /dev/audio: Device busy, Paul de Weerd, (Thu Oct 1, 10:18 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Fri Oct 2, 2:34 am)
Re: /dev/audio: Device busy, David Hoskin, (Fri Oct 2, 8:55 am)
Re: /dev/audio: Device busy, Buzzer, (Fri Oct 2, 2:33 pm)
Re: /dev/audio: Device busy, Beto, (Fri Oct 2, 2:51 pm)
Re: /dev/audio: Device busy, Buzzer, (Fri Oct 2, 4:09 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Fri Oct 2, 4:10 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Fri Oct 2, 4:14 pm)
Re: /dev/audio: Device busy, Buzzer, (Fri Oct 2, 5:21 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Fri Oct 2, 6:03 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Fri Oct 2, 6:59 pm)
Re: /dev/audio: Device busy, Matthew Clarke, (Fri Oct 2, 7:05 pm)
Re: /dev/audio: Device busy, Buzzer, (Fri Oct 2, 9:33 pm)
Re: /dev/audio: Device busy, Buzzer, (Fri Oct 2, 9:38 pm)
Re: /dev/audio: Device busy, Buzzer, (Fri Oct 2, 9:51 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Fri Oct 2, 10:16 pm)
Re: /dev/audio: Device busy, patrick keshishian, (Fri Oct 2, 10:47 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Sat Oct 3, 12:07 am)
Re: /dev/audio: Device busy, Buzzer, (Sat Oct 3, 2:33 pm)
Re: /dev/audio: Device busy, Buzzer, (Sat Oct 3, 2:33 pm)
Re: /dev/audio: Device busy, Jacob Meuser, (Sat Oct 3, 6:28 pm)
Re: /dev/audio: Device busy, Kenneth R Westerback, (Sun Oct 4, 6:37 am)
Re: /dev/audio: Device busy, Alexandre Ratchov, (Sun Oct 4, 9:02 am)
Re: /dev/audio: Device busy, Alexandre Ratchov, (Sun Oct 4, 9:03 am)