Re: [Alsa-user] Sending data to alsa drivers directly

2007-08-01 Thread Bill Unruh
On Wed, 1 Aug 2007, Wallace, Brooke wrote: > Ok after changing permissions on the device files I get the following: > > cat testpcm1.wav > /dev/snd/pcmC0D0p > cat: write error: File descriptor in bad state > > aplay still works... I assume that aplay sets up the device with its IOCTLs. An unsetup

Re: [Alsa-user] Sending data to alsa drivers directly

2007-08-01 Thread Wallace, Brooke
Ok after changing permissions on the device files I get the following: cat testpcm1.wav > /dev/snd/pcmC0D0p cat: write error: File descriptor in bad state aplay still works... -Brooke > -Original Message- > From: Wallace, Brooke > Sent: Wednesday, August 01, 2007 3:07 PM > To: alsa-use

[Alsa-user] Sending data to alsa drivers directly

2007-08-01 Thread Wallace, Brooke
Can someone explain to me why I cant just send data directory the the ALSA devices? Are they not character devices? % sudo cat testpcm1.wav > /dev/snd/pcmC0D0p /dev/snd/pcmC0D0p: Permission denied Aplay works fine on this file. So what is aplay doing other than just sending the file data to the