[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] artsdsp and SDL mixer (was SDL-Mixer madness!)



I've also gotten the pygame mixer to work by starting
the program with

'artsdsp python ./pygame-program-name.py'

However I've noticed that this approach introduces
a roughly 1 second lag in the audio (also happened
with smpeg).  Is the envar solution free from this
problem?  And is something similar possible with
smpeg as well?



----- Original Message -----
From: "Pete Shinners" <shredwheat@attbi.com>
To: <pygame-users@seul.org>
Sent: Thursday, September 26, 2002 12:25 AM
Subject: [pygame] Re: SDL-Mixer madness!


> > I'm sure I'm just being completely blind to this in the docs,
> > but in light of recent questions posed on the list...
> >
> > Pygame always trys to use /dev/dsp which it continually belives
> > is busy due to a still unresolved problem with arts... With that
> > said, I can get most other non-KDE software to work just by pointing
> > it to /dev/dsp.0 - dsp.4 I searched the docs but there seems to be no
>
>
> you might try telling SDL to use the 'arts' audio driver by setting the
> correct environment variable.
>    SDL_AUDIODRIVER=arts
>
> you can also tell SDL to use a different audio device with regular oss/dsp
> audio with either
>    SDL_PATH_DSP=/dev/dsp.0
> or
>    AUDIODEV=/dev/dsp.0


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org