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 562434 - [wavenc] Add support for a-law and mu-law encoded wav files
[wavenc] Add support for a-law and mu-law encoded wav files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.11
Other All
: Normal enhancement
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-27 10:40 UTC by Pepijn Van Eeckhoudt
Modified: 2009-01-23 08:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for gstwavenc.c to add alaw and mulaw support (4.06 KB, patch)
2008-11-27 10:41 UTC, Pepijn Van Eeckhoudt
committed Details | Review
Patch for gstwavenc.h to add alaw and mulaw support (357 bytes, patch)
2008-11-27 10:42 UTC, Pepijn Van Eeckhoudt
committed Details | Review

Description Pepijn Van Eeckhoudt 2008-11-27 10:40:45 UTC
The 0.10.11 version of wavenc only supports raw PCM. I've added support in this plugin to allow it to encode a-law and mu-law encoded data as well.
Comment 1 Pepijn Van Eeckhoudt 2008-11-27 10:41:28 UTC
Created attachment 123533 [details] [review]
Patch for gstwavenc.c to add alaw and mulaw support
Comment 2 Pepijn Van Eeckhoudt 2008-11-27 10:42:00 UTC
Created attachment 123534 [details] [review]
Patch for gstwavenc.h to add alaw and mulaw support
Comment 3 Sebastian Dröge (slomo) 2008-11-27 12:13:17 UTC
2008-11-27  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

        Patch by: Pepijn Van Eeckhoudt
                      <pepijn dot vaneeckhoudt at luciad dot com>

        * gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf),
        (gst_wavenc_sink_setcaps), (gst_wavenc_change_state):
        * gst/wavenc/gstwavenc.h:
        * gst/wavenc/riff.h:
        Add support for a-law and mu-law encoded wav files. Fixes bug #562434.