#include "avcodec.h"Go to the source code of this file.
Initialize AudioFrameQueue.
Definition at line 28 of file audio_frame_queue.c.
Referenced by aac_encode_init(), encode_init(), Faac_encode_init(), libopus_encode_init(), libshine_encode_init(), mp3lame_encode_init(), oggvorbis_encode_init(), ra144_encode_init(), and wavpack_encode_init().
Close AudioFrameQueue.
Frees memory if needed.
Definition at line 36 of file audio_frame_queue.c.
Referenced by aac_encode_close(), aac_encode_end(), encode_close(), encode_end(), Faac_encode_close(), libopus_encode_close(), libshine_encode_close(), mp3lame_encode_close(), oggvorbis_encode_close(), ra144_encode_close(), and wavpack_encode_close().
Add a frame to the queue.
Definition at line 44 of file audio_frame_queue.c.
Referenced by aac_encode_frame(), encode_frame(), Faac_encode_frame(), libopus_encode(), libshine_encode_frame(), mp3lame_encode_frame(), oggvorbis_encode_frame(), ra144_encode_frame(), and wavpack_encode_frame().
Remove frame(s) from the queue.
Retrieves the pts of the next available frame, or a generated pts based on the last frame duration if there are no frames left in the queue. The number of requested samples should be the full number of samples represented by the packet that will be output by the encoder. If fewer samples are available in the queue, a smaller value will be used for the output duration.
Definition at line 75 of file audio_frame_queue.c.
Referenced by aac_encode_frame(), encode_frame(), Faac_encode_frame(), libopus_encode(), libshine_encode_frame(), mp3lame_encode_frame(), oggvorbis_encode_frame(), ra144_encode_frame(), and wavpack_encode_frame().