GNOME Bugzilla – Bug 700402
openalsink: 'AL_FORMAT_MONO_ALAW_EXT' undeclared
Last modified: 2013-05-18 11:44:54 UTC
When I build gst-plugins-bad from git, I get: CC libgstopenal_la-gstopenalsink.lo gstopenalsink.c: In function 'gst_openal_sink_parse_spec': gstopenalsink.c:785:20: error: 'AL_FORMAT_MONO_ALAW_EXT' undeclared (first use in this function) gstopenalsink.c:785:20: note: each undeclared identifier is reported only once for each function it appears in gstopenalsink.c:788:20: error: 'AL_FORMAT_STEREO_ALAW_EXT' undeclared (first use in this function) The problem appears after commit 30d7908df294a9526e090c7e0270093a6740cfb5 (bug #698013). I'm on Ubuntu 12.04 64-bit, using gstreamer, gst-plugins-{good,bad,ugly} from git (master). I'll try to narrow it down further.
Created attachment 244345 [details] [review] Require OpenAL >= 1.14 to build OpenAL plugin AL_FORMAT_MONO_ALAW_EXT and AL_FORMAT_STEREO_ALAW_EXT were added in OpenAL 1.14 apparently (commit d1011f8d37e0e11ecb486e509ccd2e481ca34157 in openal-soft: http://repo.or.cz/w/openal-soft.git/commit/d1011f8d37e0e11ecb486e509ccd2e481ca34157).
Thanks, fixed: commit 2b25ef8564cd2e5f5847d7a9850ecda2c539cfb7 Author: Brendan Long <b.long@cablelabs.com> Date: Wed May 15 11:57:07 2013 -0600 openal: require OpenAL >= 1.14 to build the OpenAL plugin For AL_FORMAT_MONO_ALAW_EXT and AL_FORMAT_STEREO_ALAW_EXT. https://bugzilla.gnome.org/show_bug.cgi?id=700402