Try installing the alsa-oss module. This will provide the /dev/dsp and /dev/dsp1 files. On Fri, Sep 25, 2009 at 11:18 AM, <alsa-user-request@xxxxxxxxxxxxxxxxxxxxx> wrote: > Message: 4 > Date: Fri, 25 Sep 2009 11:17:00 -0300 > From: Douglas Lopes Pereira <douglaslopespereira@xxxxxxxxx> > Subject: Need help to send audio directly to device node > To: alsa-user@xxxxxxxxxxxxxxxxxxxxx > Message-ID: > <e0ab60670909250717k6e320205i965da377c5acb9af@xxxxxxxxxxxxxx> > Content-Type: text/plain; charset=ISO-8859-1 [...] > But, what I want is to send this audio directly to device node, or > something like this: > > # ./my_application <audio_number> /dev/snd/pcmC1D0p > > But I get the following error: > > cat: write error: File descriptor in bad state > > It is the same as if I try to cat a file to the device with: > > # cat test.wav > /dev/snd/pcmC1D0p > > I'm currently using a USB headset. None of the audio devices are > created (i.e: /dev/audio /dev/dsp) ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user