Lines Matching refs:audio_enc
78 gst_sbc_enc_set_format (GstAudioEncoder * audio_enc, GstAudioInfo * info) in gst_sbc_enc_set_format() argument
81 GstSbcEnc *enc = GST_SBC_ENC (audio_enc); in gst_sbc_enc_set_format()
162 gst_audio_encoder_set_frame_samples_min (audio_enc, sampleframes_per_frame); in gst_sbc_enc_set_format()
163 gst_audio_encoder_set_frame_samples_max (audio_enc, sampleframes_per_frame); in gst_sbc_enc_set_format()
164 gst_audio_encoder_set_frame_max (audio_enc, 0); in gst_sbc_enc_set_format()
167 gst_audio_encoder_set_hard_min (audio_enc, TRUE); in gst_sbc_enc_set_format()
218 if (!gst_audio_encoder_set_output_format (audio_enc, output_caps)) in gst_sbc_enc_set_format()
221 return gst_audio_encoder_negotiate (audio_enc); in gst_sbc_enc_set_format()
232 gst_sbc_enc_handle_frame (GstAudioEncoder * audio_enc, GstBuffer * buffer) in gst_sbc_enc_handle_frame() argument
234 GstSbcEnc *enc = GST_SBC_ENC (audio_enc); in gst_sbc_enc_handle_frame()
261 outbuf = gst_audio_encoder_allocate_output_buffer (audio_enc, in gst_sbc_enc_handle_frame()
293 return gst_audio_encoder_finish_frame (audio_enc, outbuf, in gst_sbc_enc_handle_frame()
313 gst_sbc_enc_start (GstAudioEncoder * audio_enc) in gst_sbc_enc_start() argument
315 GstSbcEnc *enc = GST_SBC_ENC (audio_enc); in gst_sbc_enc_start()
324 gst_sbc_enc_stop (GstAudioEncoder * audio_enc) in gst_sbc_enc_stop() argument
326 GstSbcEnc *enc = GST_SBC_ENC (audio_enc); in gst_sbc_enc_stop()