On 08 Apr 2007 04:15:20 -0700, Suresh Ramasubramanian <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> thejaswi_p_23 wrote:
>  > Thanks for the help but the "cannot open audio device" error is still
>  > intriguing me and how do I come to know which device is being handled
>  > by Sox?

It may not be the case with everybody, but since pre-ALSA days
configuring sound had always been a pain for me.

since you used 'play' instead of 'sox'... did you try 'sox' also? If
it is the same error again... try changing the permissions to 0666 and
try the command. Try it on /dev/audio first since alsa uses this by
default.

You said that it is running on one box and is not running on the
other... Care to mention the distro and config?


>
>  fuser (1) has what you need. But if the distro you're using has ALSA why
>  not base your python script on that?  ALSA will handle this for you
>  quite gracefully
>
>  srs
>
>  --
>  Suresh Ramasubramanian | [EMAIL PROTECTED] | gpg EDEDEFB9
>  email sturmbahnfuehrer | lower middle class unix sysadmin
>                    



-- 
________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/>M d- s++:+ a- C++(++++) ULBS++++$ P+++>$ L+++$ E+ W++
N++ O! M! V! PS+ PE+ Y+ PGP>+++ 5! X! R- !tv b++(+++) DI+++ D--
G-- e++>++++ h r+ y+
------END GEEK CODE BLOCK------
-----------------------------------------------------------------

Reply via email to