summaryrefslogtreecommitdiffstats
path: root/gst/wavenc/gstwavenc.h
Commit message (Collapse)AuthorAgeFilesLines
* gst/wavenc/: Add support for a-law and mu-law encoded wav files. Fixes bug ↵Sebastian Dröge2008-11-271-1/+1
| | | | | | | | | | | | | #562434. Original commit message from CVS: 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.
* gst/wavenc/gstwavenc.*: Add support for float/double as input and remove the ↵Sebastian Dröge2008-10-301-1/+1
| | | | | | | | | | | (nowadays) useless parsing of the depth ... Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf), (gst_wavenc_sink_setcaps), (gst_wavenc_change_state): * gst/wavenc/gstwavenc.h: Add support for float/double as input and remove the (nowadays) useless parsing of the depth as we require width==depth.
* gst/wavenc/gstwavenc.*: Properly write wav files with width!=depth by having ↵Sebastian Dröge2007-06-031-0/+1
| | | | | | | | | | | | the depth most significant bytes set and... Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf), (gst_wavenc_sink_setcaps), (gst_wavenc_format_samples), (gst_wavenc_chain), (gst_wavenc_change_state): * gst/wavenc/gstwavenc.h: Properly write wav files with width!=depth by having the depth most significant bytes set and all others zero. Fixes #442535.
* gst/wavenc/gstwavenc.*: everything else results in a invalid block align and ↵Sebastian Dröge2007-04-181-1/+0
| | | | | | | | | | | invalid files. Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_create_header_buf), (gst_wavenc_sink_setcaps), (gst_wavenc_change_state): * gst/wavenc/gstwavenc.h: Wav apparently only supports width==GST_ROUND_UP(depth), everything else results in a invalid block align and invalid files.
* gst/wavenc/gstwavenc.*: Set caps on first outgoing buffer, so that it ↵Tim-Philipp Müller2006-04-191-17/+12
| | | | | | | | | | | | | | | | | doesn't error out immediately with a non-negoti... Original commit message from CVS: * gst/wavenc/gstwavenc.c: (gst_wavenc_base_init), (gst_wavenc_class_init), (gst_wavenc_init), (gst_wavenc_create_header_buf), (gst_wavenc_push_header), (gst_wavenc_sink_setcaps), (get_id_from_name), (gst_wavenc_event), (gst_wavenc_chain), (gst_wavenc_change_state): * gst/wavenc/gstwavenc.h: Set caps on first outgoing buffer, so that it doesn't error out immediately with a non-negotiated error (#338716). Rewrite and clean up a bit; fix setcaps function to parse things properly; fix sink caps (8bit audio is unsigned and doesn't have depth); use boilerplate macros; remove unused properties stuff.
* tidying up -good for businessThomas Vander Stichele2005-08-301-1/+1
| | | | | Original commit message from CVS: tidying up -good for business
* gst/wavenc/gstwavenc.*: Added newmedia support to wavencZaheer Abbas Merali2004-09-191-0/+2
| | | | | | | | | Original commit message from CVS: 2004-09-19 Zaheer Abbas Merali <zaheerabbas at merali dot org> * gst/wavenc/gstwavenc.c: (gst_wavenc_init), (gst_wavenc_chain): * gst/wavenc/gstwavenc.h: Added newmedia support to wavenc
* *.h: Revert indentingJohan Dahlin2004-03-151-6/+7
| | | | | Original commit message from CVS: * *.h: Revert indenting
* gst-indentThomas Vander Stichele2004-03-141-7/+6
| | | | | Original commit message from CVS: gst-indent
* Merge CAPS branchDavid Schleef2003-12-221-3/+0
| | | | | Original commit message from CVS: Merge CAPS branch
* Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje2003-11-071-1/+0
| | | | | | | and remove duplicate config.h includes fro... Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
* Add a local copy of riff.h, and add metadata writing ability to wavencIain Holmes2003-10-291-0/+3
| | | | | Original commit message from CVS: Add a local copy of riff.h, and add metadata writing ability to wavenc
* At end of stream, rewrite the header with the correct number of bytesIain Holmes2003-07-291-2/+3
| | | | | Original commit message from CVS: At end of stream, rewrite the header with the correct number of bytes
* CleanupsWim Taymans2002-12-271-11/+3
| | | | | Original commit message from CVS: Cleanups
* Added a WAV file encoderIain Holmes2002-10-211-0/+76
Original commit message from CVS: Added a WAV file encoder