* MT safe.
*/
void
-gst_audio_decoder_set_min_latency (GstAudioDecoder * dec, gint64 num)
+gst_audio_decoder_set_min_latency (GstAudioDecoder * dec, GstClockTime num)
{
g_return_if_fail (GST_IS_AUDIO_DECODER (dec));
*
* MT safe.
*/
-gint64
+GstClockTime
gst_audio_decoder_get_min_latency (GstAudioDecoder * dec)
{
- gint64 result;
+ GstClockTime result;
g_return_val_if_fail (GST_IS_AUDIO_DECODER (dec), FALSE);
* MT safe.
*/
void
-gst_audio_decoder_set_tolerance (GstAudioDecoder * dec, gint64 tolerance)
+gst_audio_decoder_set_tolerance (GstAudioDecoder * dec, GstClockTime tolerance)
{
g_return_if_fail (GST_IS_AUDIO_DECODER (dec));
*
* MT safe.
*/
-gint64
+GstClockTime
gst_audio_decoder_get_tolerance (GstAudioDecoder * dec)
{
- gint64 result;
+ GstClockTime result;
g_return_val_if_fail (GST_IS_AUDIO_DECODER (dec), 0);
gboolean gst_audio_decoder_get_plc (GstAudioDecoder * dec);
void gst_audio_decoder_set_min_latency (GstAudioDecoder * dec,
- gint64 num);
+ GstClockTime num);
-gint64 gst_audio_decoder_get_min_latency (GstAudioDecoder * dec);
+GstClockTime gst_audio_decoder_get_min_latency (GstAudioDecoder * dec);
void gst_audio_decoder_set_tolerance (GstAudioDecoder * dec,
- gint64 tolerance);
+ GstClockTime tolerance);
-gint64 gst_audio_decoder_get_tolerance (GstAudioDecoder * dec);
+GstClockTime gst_audio_decoder_get_tolerance (GstAudioDecoder * dec);
void gst_audio_decoder_set_drainable (GstAudioDecoder * dec,
gboolean enabled);
* MT safe.
*/
void
-gst_audio_encoder_set_tolerance (GstAudioEncoder * enc, gint64 tolerance)
+gst_audio_encoder_set_tolerance (GstAudioEncoder * enc, GstClockTime tolerance)
{
g_return_if_fail (GST_IS_AUDIO_ENCODER (enc));
*
* MT safe.
*/
-gint64
+GstClockTime
gst_audio_encoder_get_tolerance (GstAudioEncoder * enc)
{
- gint64 result;
+ GstClockTime result;
g_return_val_if_fail (GST_IS_AUDIO_ENCODER (enc), 0);
gboolean gst_audio_encoder_get_hard_resync (GstAudioEncoder * enc);
void gst_audio_encoder_set_tolerance (GstAudioEncoder * enc,
- gint64 tolerance);
+ GstClockTime tolerance);
-gint64 gst_audio_encoder_get_tolerance (GstAudioEncoder * enc);
+GstClockTime gst_audio_encoder_get_tolerance (GstAudioEncoder * enc);
void gst_audio_encoder_set_hard_min (GstAudioEncoder * enc,
gboolean enabled);