FFmpeg
|
#include <libavutil/opt.h>
#include <libavutil/channel_layout.h>
#include <libavutil/samplefmt.h>
#include <libswresample/swresample.h>
Go to the source code of this file.
Functions | |
static int | get_format_from_sample_fmt (const char **fmt, enum AVSampleFormat sample_fmt) |
void | fill_samples (double *dst, int nb_samples, int nb_channels, int sample_rate, double *t) |
Fill dst buffer with nb_samples, generated starting from t. | |
int | alloc_samples_array_and_data (uint8_t ***data, int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align) |
int | main (int argc, char **argv) |
|
static |
Definition at line 33 of file resampling_audio.c.
Referenced by main().
void fill_samples | ( | double * | dst, |
int | nb_samples, | ||
int | nb_channels, | ||
int | sample_rate, | ||
double * | t | ||
) |
Fill dst buffer with nb_samples, generated starting from t.
Definition at line 65 of file resampling_audio.c.
Referenced by main().
int alloc_samples_array_and_data | ( | uint8_t *** | data, |
int * | linesize, | ||
int | nb_channels, | ||
int | nb_samples, | ||
enum AVSampleFormat | sample_fmt, | ||
int | align | ||
) |
Definition at line 81 of file resampling_audio.c.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 93 of file resampling_audio.c.