FFmpeg
4.0
|
#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 25 of file audio_fifo.c.
Referenced by write_samples_to_audio_fifo().
|
static |
Definition at line 48 of file audio_fifo.c.
Referenced by read_samples_from_audio_fifo(), and test_function().
|
static |
Definition at line 57 of file audio_fifo.c.
Referenced by main(), read_samples_from_audio_fifo(), and test_function().
|
static |
Definition at line 63 of file audio_fifo.c.
Referenced by test_function().
|
static |
Definition at line 83 of file audio_fifo.c.
Referenced by test_function().
|
static |
Definition at line 105 of file audio_fifo.c.
Referenced by test_function().
|
static |
Definition at line 126 of file audio_fifo.c.
Referenced by main().
Definition at line 191 of file audio_fifo.c.
|
static |
Definition at line 35 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 39 of file audio_fifo.c.
Referenced by main().