[theora] example sources

Kostas Kostiadis kos at climaxgroup.com
Tue May 1 08:01:19 PDT 2007


Am I right to assume that there is no example player for win32 yet?
I've noticed the example player sources have things like:

#if defined(__FreeBSD__)
#include <machine/soundcard.h>
#define AUDIO_DEVICE "/dev/audio"
#elif defined(__NetBSD__) || defined(__OpenBSD__)
#include <soundcard.h>
#define AUDIO_DEVICE "/dev/audio"
#else
#include <sys/soundcard.h>
#define AUDIO_DEVICE "/dev/dsp"
#endif

Which won't work on win32.
Is there no way to use SDL_mixer to do all the audio device open/close/init
stuff in a cross-platform way?

Cheers,
Kos
 

> -----Original Message-----
> From: conrad.parker at gmail.com 
> [mailto:conrad.parker at gmail.com] On Behalf Of Conrad Parker
> Sent: 27 April 2007 07:35
> To: Kostas Kostiadis
> Cc: theora at xiph.org
> Subject: Re: [theora] example sources
> 
> On 26/04/07, Kostas Kostiadis <kos at climaxgroup.com> wrote:
> > Other than the API reference I haven't found any example code,
> > e.g. the sources for theora_player_example. Are these 
> available anywhere?
> 
> Hi,
> 
> the source for player_example is in the libtheora source tarball, in
> th examples/ directory.
> 
> The link to the libtheora source is on www.theora.org.
> 
> cheers,
> 
> Conrad.
> 


More information about the theora mailing list