[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Does PyGame support Ogg Vorbis "OOTB"?



On Fri, Mar 28, 2008 at 12:43:09PM -0500, Terry Hancock wrote:
> Hi all,
> 
> I'm writing a tutorial for Python using PyGame, and one thing
> that bothers me is that I'm not entirely certain that my PyGame
> is a plain installation.
> 
> In fact, I'm pretty certain that I have some extras installed,
> which makes me worry that some stuff that works for me may not
> work for people reading the tutorial.
> 
> I've already made sure to use BMP files exclusively for images.
>
> But what about sound files? Does pygame.mixer.music *always*
> support Ogg files? I know my installation does.
> 
> I'm using WAV files for sound effects, but
> it's a lot nicer to use Ogg Vorbis for music. Is it safe to
> assume that anyone who's installed PyGame will have this
> ability?

Although it is theoretically possible to compile pygame's support 
libraries without support for PNG images and OGG sounds, such a build 
would be broken.

---
James