FFmpeg
|
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
#include "libavutil/mem.h"
#include "libavutil/audio_fifo.c"
Go to the source code of this file.
Data Structures | |
struct | TestStruct |
Macros | |
#define | MAX_CHANNELS 32 |
Functions | |
static void | free_data_planes (AVAudioFifo *afifo, void **output_data) |
static void | ERROR (const char *str) |
static void | print_audio_bytes (const TestStruct *test_sample, void **data_planes, int nb_samples) |
static int | read_samples_from_audio_fifo (AVAudioFifo *afifo, void ***output, int nb_samples) |
static int | write_samples_to_audio_fifo (AVAudioFifo *afifo, const TestStruct *test_sample, int nb_samples, int offset) |
static void | test_function (const TestStruct *test_sample) |
int | main (void) |
Variables | |
static const uint8_t | data_U8 [] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 } |
static const int16_t | data_S16 [] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 } |
static const float | data_FLT [] = {0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0} |
static const TestStruct | test_struct [] |
#define MAX_CHANNELS 32 |
Definition at line 26 of file audio_fifo.c.
|
static |
Definition at line 49 of file audio_fifo.c.
Referenced by read_samples_from_audio_fifo(), and test_function().
|
static |
Definition at line 58 of file audio_fifo.c.
Referenced by main(), read_samples_from_audio_fifo(), and test_function().
|
static |
Definition at line 64 of file audio_fifo.c.
Referenced by test_function().
|
static |
Definition at line 84 of file audio_fifo.c.
Referenced by test_function().
|
static |
Definition at line 106 of file audio_fifo.c.
Referenced by test_function().
|
static |
Definition at line 127 of file audio_fifo.c.
Referenced by main().
int main | ( | void | ) |
Definition at line 192 of file audio_fifo.c.
|
static |
Definition at line 36 of file audio_fifo.c.
|
static |
Definition at line 37 of file audio_fifo.c.
|
static |
Definition at line 38 of file audio_fifo.c.
|
static |
Definition at line 40 of file audio_fifo.c.
Referenced by main().