Sebastian Dröge
61ffd7cb42
audioencoder: Delay sending of serialized events to finish_frame()
...
This makes sure that the caps are already set before any serialized
events are sent downstream.
2011-09-26 15:42:14 +02:00
Sebastian Dröge
11e375486e
audioencoder: Use GST_BOILERPLATE instead of custom GObject boilerplate code
2011-09-26 15:34:54 +02:00
Mark Nauwelaerts
abafb030ac
audioencoder: add some tag handling convenience help
2011-09-26 15:15:03 +02:00
Mark Nauwelaerts
a99b313c26
audioencoder: provide CODEC/AUDIO_CODEC handling
2011-09-26 15:10:08 +02:00
Mark Nauwelaerts
aae0312e10
audioencoder: filter AUDIO_CODEC/CODEC tags from passing tag events
2011-09-26 15:10:06 +02:00
Mark Nauwelaerts
001b4a0072
audioencoder: proxy some more optional downstream caps fields to upstream
2011-09-22 15:47:06 +02:00
Mark Nauwelaerts
2a362a95f7
audioencoder: changed is verily the opposite of equal
2011-09-22 15:47:06 +02:00
Mark Nauwelaerts
b420dd54ea
audioencoder: prevent crashing when comparing to a freshly inited GstAudioInfo
2011-09-22 15:46:56 +02:00
Mark Nauwelaerts
7fa7de9221
audio: some more accessor macros for GstAudioInfo
2011-09-22 15:45:05 +02:00
Mark Nauwelaerts
b44978befe
audiodecoder: fix documentation typo
2011-09-22 15:45:01 +02:00
Tim-Philipp Müller
55182ed841
baseaudiosrc: don't try to fixate "width" field for alaw/mulaw
...
Fixes warning when trying to fixate e.g. pulsesrc ! audio/x-alaw ! fakesink.
2011-09-10 18:30:55 +01:00
Wim Taymans
dc28bd1b63
audio: rename IS_LE/BE to _IS_LITTLE_ENDIAN/BIG_ENDIAN
2011-09-06 16:27:27 +01:00
Tim-Philipp Müller
36a75bdb71
audio: update internal silent sample defines as well to match 0.11
2011-09-06 15:46:45 +01:00
Tim-Philipp Müller
91d1112360
audio: update audio format enums to match changes in 0.11
...
And add new audio format info stuff to docs.
2011-09-06 15:36:51 +01:00
Tim-Philipp Müller
9a8a989a22
docs: more docs clean-ups
2011-09-06 10:07:33 +01:00
Tim-Philipp Müller
5e61db25b5
audio: fix GST_AUDIO_FORMAT_INFO_IS_*() macros to return a boolean
2011-09-05 23:28:20 +01:00
Tim-Philipp Müller
ba05716485
docs: some docs love
2011-09-05 23:28:20 +01:00
Tim-Philipp Müller
7563e0c9cf
docs: add GstAudioDecoder and GstAudioEncoder to documentation
2011-09-05 23:28:20 +01:00
Tim-Philipp Müller
86e6343759
audio: rename GstBaseAudioDecoder/Encoder to GstAudioDecoder/Encoder
...
API: gst_gst_audio_decoder_finish_frame()
API: gst_gst_audio_decoder_get_audio_info()
API: gst_gst_audio_decoder_get_byte_time()
API: gst_gst_audio_decoder_get_delay()
API: gst_gst_audio_decoder_get_latency()
API: gst_gst_audio_decoder_get_max_errors()
API: gst_gst_audio_decoder_get_min_latenc()y
API: gst_gst_audio_decoder_get_parse_state()
API: gst_gst_audio_decoder_get_plc()
API: gst_gst_audio_decoder_get_plc_aware()
API: gst_gst_audio_decoder_get_tolerance()
API: gst_gst_audio_decoder_get_type()
API: gst_gst_audio_decoder_set_byte_time()
API: gst_gst_audio_decoder_set_latency()
API: gst_gst_audio_decoder_set_max_errors()
API: gst_gst_audio_decoder_set_min_latency()
API: gst_gst_audio_decoder_set_plc()
API: gst_gst_audio_decoder_set_plc_aware()
API: gst_gst_audio_decoder_set_tolerance()
API: gst_gst_audio_encoder_finish_frame()
API: gst_gst_audio_encoder_get_audio_info()
API: gst_gst_audio_encoder_get_frame_max()
API: gst_gst_audio_encoder_get_frame_samples()
API: gst_gst_audio_encoder_get_hard_resync()
API: gst_gst_audio_encoder_get_latency()
API: gst_gst_audio_encoder_get_lookahead()
API: gst_gst_audio_encoder_get_mark_granule()
API: gst_gst_audio_encoder_get_perfect_timestamp()
API: gst_gst_audio_encoder_get_tolerance()
API: gst_gst_audio_encoder_get_type()
API: gst_gst_audio_encoder_proxy_getcaps()
API: gst_gst_audio_encoder_set_frame_max()
API: gst_gst_audio_encoder_set_frame_samples()
API: gst_gst_audio_encoder_set_hard_resync()
API: gst_gst_audio_encoder_set_latency()
API: gst_gst_audio_encoder_set_lookahead()
API: gst_gst_audio_encoder_set_mark_granule()
API: gst_gst_audio_encoder_set_perfect_timestamp()
API: gst_gst_audio_encoder_set_tolerance()
https://bugzilla.gnome.org/show_bug.cgi?id=642690
2011-09-05 23:28:13 +01:00
Tim-Philipp Müller
517153e85a
audio: add GstBaseAudioDecoder and GstBaseAudioEncoder to build
...
However, libgstaudio now depends on libgstvideo (via pbutils).
https://bugzilla.gnome.org/show_bug.cgi?id=642690
API: gst_audio_info_clear()
API: gst_audio_info_convert()
API: gst_audio_info_copy()
API: gst_audio_info_free()
API: gst_audio_info_from_caps()
API: gst_audio_info_init()
API: gst_audio_info_to_caps()
API: gst_base_audio_decoder_finish_frame()
API: gst_base_audio_decoder_get_audio_info()
API: gst_base_audio_decoder_get_byte_time()
API: gst_base_audio_decoder_get_delay()
API: gst_base_audio_decoder_get_latency()
API: gst_base_audio_decoder_get_max_errors()
API: gst_base_audio_decoder_get_min_latency()
API: gst_base_audio_decoder_get_parse_state()
API: gst_base_audio_decoder_get_plc()
API: gst_base_audio_decoder_get_plc_aware()
API: gst_base_audio_decoder_get_tolerance()
API: gst_base_audio_decoder_get_type()
API: gst_base_audio_decoder_set_byte_time()
API: gst_base_audio_decoder_set_latency()
API: gst_base_audio_decoder_set_max_errors()
API: gst_base_audio_decoder_set_min_latency()
API: gst_base_audio_decoder_set_plc()
API: gst_base_audio_decoder_set_plc_aware()
API: gst_base_audio_decoder_set_tolerance()
API: gst_base_audio_encoder_finish_frame()
API: gst_base_audio_encoder_get_audio_info()
API: gst_base_audio_encoder_get_frame_max()
API: gst_base_audio_encoder_get_frame_samples()
API: gst_base_audio_encoder_get_hard_resync()
API: gst_base_audio_encoder_get_latency()
API: gst_base_audio_encoder_get_lookahead()
API: gst_base_audio_encoder_get_mark_granule()
API: gst_base_audio_encoder_get_perfect_timestamp()
API: gst_base_audio_encoder_get_tolerance()
API: gst_base_audio_encoder_get_type()
API: gst_base_audio_encoder_proxy_getcaps()
API: gst_base_audio_encoder_set_frame_max()
API: gst_base_audio_encoder_set_frame_samples()
API: gst_base_audio_encoder_set_hard_resync()
API: gst_base_audio_encoder_set_latency()
API: gst_base_audio_encoder_set_lookahead()
API: gst_base_audio_encoder_set_mark_granule()
API: gst_base_audio_encoder_set_perfect_timestamp()
API: gst_base_audio_encoder_set_tolerance()
2011-08-27 14:47:50 +01:00
Tim-Philipp Müller
58f515f06a
docs: add since markers to baseaudio{decoder,encoder} documentation
2011-08-27 14:47:50 +01:00
Tim-Philipp Müller
90e3d25891
baseaudiodecoder, baseaudioencoder: fix some compiler warnings
...
Leaving the GST_USE_UNSTABLE_API guards in until some of the
ported decoders have been updated and it's clear that I didn't
mess up anywhere porting things to the new audio API.
2011-08-27 14:47:49 +01:00
Tim-Philipp Müller
52ecb383d7
baseaudioutils: remove, merged into or superseded by audio.c
2011-08-27 14:47:49 +01:00
Tim-Philipp Müller
7f0c7e5f82
baseaudioencoder: port to new GstAudioInfo API
2011-08-27 14:47:49 +01:00
Tim-Philipp Müller
c89b49bfaf
baseaudiodecoder: port to GstAudioInfo API
2011-08-27 14:47:49 +01:00
Tim-Philipp Müller
946ddb6462
audio: add gst_audio_info_{init,clear} and gst_audio_info_{copy,free}
2011-08-27 14:47:49 +01:00
Tim-Philipp Müller
63a3d360dc
audio: add GstAudioFormat, GstAudioFormatInfo and GstAudioInfo
...
Same as in 0.11, but with caps parsing/serialising for 0.10 style
caps. Add setting default channel positions.
2011-08-27 14:47:01 +01:00
Mark Nauwelaerts
bf4a28f420
baseaudioencoder: remove leftover experimental code
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
35b172004c
audioutils: modify _parse, add GType support functions
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
a4d5e33224
baseaudiodecoder: move properties to private storage and add
...
_get/_set
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
7939d37936
baseaudiodecoder: rename property
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
d71e427c49
baseaudiodecoder: replace context helper structure by various
...
_get/_set
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
a39a66dd4b
baseaudioencoder: move properties to private storage and add
...
_get/_set
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
41a0d6f8f0
baseaudioencoder: rename some properties
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
6302c9d31d
baseaudioencoder: replace context helper structure by various
...
_get/_set
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
d1ab04f029
baseaudio: rename GstAudioState to GstAudioFormatInfo
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
ecf57f2b73
baseaudioencoder: TEMP; avoid some imperfect ts jitter ?
...
... even when not in perfect mode ?
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
5a40343102
baseaudioencoder: debug format fixes
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
cedbedbbca
baseaudiodecoder: debug format fix
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
8b6109cdbe
baseaudiodecoder: fixup documentation
2011-08-27 14:47:00 +01:00
Mark Nauwelaerts
5003868dc7
baseaudiodecoder: fix FLUSH_STOP actions
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
660aa2e2c0
baseaudiodecoder: preserve upstream seek event seqnum
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
d1f5c34fe7
baseaudioencoder: use buffer running time for granule calculation
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
6c04035eec
baseaudiodecoder: minor fix in ts resync
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
d46006b198
baseaudiodecoder: improve glitch resilience
...
Provide a replacement for GST_ELEMENT_ERROR to avoid aborting at the first
atom out of place, while on the other hand not failing indefinitely.
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
79b41f59f6
baseaudiodecoder: add limited legacy seeking support
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
0c33df6540
baseaudiodecoder: cater for audio-codec tag
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
1dbbe7c89d
baseaudiodecoder: initial version
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
87409f2587
baseaudioencoder: misc fixes
2011-08-27 14:46:59 +01:00
Mark Nauwelaerts
8c61685554
baseaudio: add audioutils for caps and query handling helper utils
2011-08-27 14:46:59 +01:00