[theora-dev] Player under FreeBSD

Arc arc at indymedia.org
Wed Oct 2 08:37:12 PDT 2002

Ok here's another one:

player_example.c: In function `open_audio':
player_example.c:138: `AFMT_S16_NE' undeclared (first use in this

It worked fine once I switched it from _NE to _LE, this code will help

#if defined(__FreeBSD__)
#  define AFMT_S16_NE AFMT_S16_LE
#elif defined(_AIX) || defined(AIX)
#  define AFMT_S16_NE AFMT_S16_BE

I'm not sure what other OS's may also require this be defined..

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Theora-dev mailing list