Matthew,
I am also experimenting with ossaudiodev with python and was having the
same problem on my laptop, but not on my desktop - the reset() method
has solved this problem. However I want to be able to pause the played
file before it ends, but all the controls seem to be locked until the
sound
Michael,
Calling .reset() did the trick. The code now waits for the user to
press play before opening the audio device and closes it when paused or
EOF is reached.
Thanks for your help!
-mtw
On Thu, May 11, 2006 at 07:15:52PM +0200, Michael Lange ([EMAIL PROTECTED])
wrote:
> On Wed, 10 May 20
On Wed, 10 May 2006 09:59:14 -0700
Matthew White <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I'm writing a little audio player that plays voicemail files. (I realize
> I'm reinventing the wheel, but it's still fun.)
>
> The problem I'm experiencing is that I'm hearing the last fraction of
> the
Hello All,
I'm writing a little audio player that plays voicemail files. (I realize
I'm reinventing the wheel, but it's still fun.)
The problem I'm experiencing is that I'm hearing the last fraction of
the sound clip twice, either when the clip is done playing or when the
program exits.
I've tr