#include "config.h"#include <semaphore.h>#include <jack/jack.h>#include "libavutil/log.h"#include "libavutil/fifo.h"#include "libavcodec/avcodec.h"#include "libavformat/avformat.h"#include "libavformat/timefilter.h"Go to the source code of this file.
Data Structures | |
| struct | JackData |
Defines | |
| #define | FIFO_PACKETS_NUM 16 |
| Size of the internal FIFO buffers as a number of audio packets. | |
Functions | |
| static int | process_callback (jack_nframes_t nframes, void *arg) |
| static void | shutdown_callback (void *arg) |
| static int | xrun_callback (void *arg) |
| static int | supply_new_packets (JackData *self, AVFormatContext *context) |
| static int | start_jack (AVFormatContext *context, AVFormatParameters *params) |
| static void | free_pkt_fifo (AVFifoBuffer *fifo) |
| static void | stop_jack (JackData *self) |
| static int | audio_read_header (AVFormatContext *context, AVFormatParameters *params) |
| static int | audio_read_packet (AVFormatContext *context, AVPacket *pkt) |
| static int | audio_read_close (AVFormatContext *context) |
Variables | |
| AVInputFormat | jack_demuxer |
| #define FIFO_PACKETS_NUM 16 |
Size of the internal FIFO buffers as a number of audio packets.
Definition at line 36 of file jack_audio.c.
Referenced by start_jack().
| static int audio_read_close | ( | AVFormatContext * | context | ) | [static] |
Definition at line 310 of file jack_audio.c.
| static int audio_read_header | ( | AVFormatContext * | context, | |
| AVFormatParameters * | params | |||
| ) | [static] |
Definition at line 222 of file jack_audio.c.
| static int audio_read_packet | ( | AVFormatContext * | context, | |
| AVPacket * | pkt | |||
| ) | [static] |
Definition at line 253 of file jack_audio.c.
| static void free_pkt_fifo | ( | AVFifoBuffer * | fifo | ) | [static] |
| static int process_callback | ( | jack_nframes_t | nframes, | |
| void * | arg | |||
| ) | [static] |
| static void shutdown_callback | ( | void * | arg | ) | [static] |
| static int start_jack | ( | AVFormatContext * | context, | |
| AVFormatParameters * | params | |||
| ) | [static] |
| static void stop_jack | ( | JackData * | self | ) | [static] |
Definition at line 208 of file jack_audio.c.
Referenced by audio_read_close(), and audio_read_header().
| static int supply_new_packets | ( | JackData * | self, | |
| AVFormatContext * | context | |||
| ) | [static] |
| static int xrun_callback | ( | void * | arg | ) | [static] |
Initial value:
{
"jack",
NULL_IF_CONFIG_SMALL("JACK Audio Connection Kit"),
sizeof(JackData),
NULL,
audio_read_header,
audio_read_packet,
audio_read_close,
.flags = AVFMT_NOFILE,
}
Definition at line 317 of file jack_audio.c.
1.5.8