|
From: Chris B. <ch...@cn...> - 2008-10-10 13:11:39
|
Pascal Giard wrote: > On Fri, Oct 10, 2008 at 7:58 AM, Kunal Bharati <kun...@gm... > <mailto:kun...@gm...>> wrote: > > Hello Friends, > I hav compiled sox in fedora 8 with mp3 support using libmad. > But whenever I use 'play' command, I get the following error: > > sox formats: can't open input file `/dev/dsp': Unable to reset OSS > driver. Possibly accessing an invalid file/device > > > Hello Kunal, > did you build SoX against libao or alsa? > It seems like you have only OSS in there... > Thats my guess to... Make sure you have "yum install alsa-lib-devel" before compiling. I suspect you just don't have all the development files installed. Also, do a "make distclean" in sox to be safe before you recompile. To see if thats the issue, run "sox" by itself... You should see alsa listed in the list of AUDIO FILE FORMATS. Chris |