On Mon, Sep 29, 2008 at 12:30:10AM +0000, Debian Bug Tracking System wrote:
>  libsdl-sound1.2 (1.0.3-2) unstable; urgency=low
>  .
>    * Use /etc/timidity instead of /etc when looking for timidity.cfg
>      (Closes: #314786)

Hm, I did not test since it did not hit the mirrors yet, but from the
comment I am not sure this upload addresses the problem of not
mentionning that the problem is indeed with /dev/dsp being already
used by another program.

> Package: libsdl-sound1.2
> Version: 1.0.1-12+b1
> Severity: normal
> 
> $  playsound data/thrust.wav 
> Couldn't open audio device!
>   reason: [Couldn't open /usr/local/lib/timidity/timidity.cfg].
> 
> Strace seems to show that the failure to open /dev/dsp is not caught,
> since extra useless things like looking for timidity conffiles and
> reading the sound file are done after that:
> 
> open("/dev/dsp", O_WRONLY|O_NONBLOCK)   = -1 EBUSY (Device or resource busy)
> open("/dev/dsp", O_RDWR|O_NONBLOCK)     = -1 EBUSY (Device or resource busy)
> open("timidity.cfg", O_RDONLY)          = -1 ENOENT (No such file or 
> directory)
> open("/etc/timidity.cfg", O_RDONLY)     = -1 ENOENT (No such file or 
> directory)
> open("/usr/local/lib/timidity/timidity.cfg", O_RDONLY) = -1 ENOENT (No such 
> file or directory)
> open("data/thrust.wav", O_RDONLY)       = 3
> Couldn't open audio device!
>   reason: [Couldn't open /usr/local/lib/timidity/timidity.cfg].



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to