After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700402 - openalsink: 'AL_FORMAT_MONO_ALAW_EXT' undeclared
openalsink: 'AL_FORMAT_MONO_ALAW_EXT' undeclared
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.0.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-15 17:39 UTC by Brendan Long
Modified: 2013-05-18 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Require OpenAL >= 1.14 to build OpenAL plugin (798 bytes, patch)
2013-05-15 17:57 UTC, Brendan Long
committed Details | Review

Description Brendan Long 2013-05-15 17:39:02 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.
Comment 1 Brendan Long 2013-05-15 17:57:57 UTC
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).
Comment 2 Tim-Philipp Müller 2013-05-15 18:37:33 UTC
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