zenilib
0.5.3.0
|
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
Go to the source code of this file.
Typedefs | |
typedef struct MyFile * | FilePtr |
typedef struct MyStream * | StreamPtr |
Functions | |
void | closeAVFile (FilePtr file) |
void * | decodeAVAudioStream (StreamPtr stream, size_t *length) |
uint8_t * | getAVAudioData (StreamPtr stream, size_t *length) |
int | getAVAudioInfo (StreamPtr stream, ALuint *rate, ALenum *channels, ALenum *type) |
StreamPtr | getAVAudioStream (FilePtr file, int streamnum) |
int | getAVFileInfo (FilePtr file, int *numaudiostreams) |
FilePtr | openAVCustom (const char *name, void *user_data, int(*read_packet)(void *user_data, uint8_t *buf, int buf_size), int(*write_packet)(void *user_data, uint8_t *buf, int buf_size), int64_t(*seek)(void *user_data, int64_t offset, int whence)) |
FilePtr | openAVData (const char *name, char *buffer, size_t buffer_len) |
FilePtr | openAVFile (const char *fname) |
size_t | readAVAudioData (StreamPtr stream, void *data, size_t length) |
typedef struct MyFile* FilePtr |
Definition at line 13 of file alffmpeg.h.
typedef struct MyStream* StreamPtr |
Definition at line 14 of file alffmpeg.h.
Definition at line 271 of file alffmpeg.c.
Referenced by ClosePlayerFile(), LoadSound(), and OpenPlayerFile().
Definition at line 611 of file alffmpeg.c.
References getAVAudioData(), memcpy, NextPowerOf2(), NULL, and realloc.
Referenced by LoadSound().
Definition at line 503 of file alffmpeg.c.
References getNextPacket(), memmove, memset, and NULL.
Referenced by decodeAVAudioStream(), and readAVAudioData().
Definition at line 392 of file alffmpeg.c.
References AL_5POINT1_SOFT, AL_7POINT1_SOFT, AL_DOUBLE_SOFT, AL_FLOAT_SOFT, AL_INT_SOFT, AL_MONO_SOFT, AL_QUAD_SOFT, AL_SHORT_SOFT, AL_STEREO_SOFT, AL_UNSIGNED_BYTE_SOFT, and str.
Referenced by LoadSound(), and OpenPlayerFile().
Definition at line 318 of file alffmpeg.c.
References calloc, file, free, i, j, NULL, and realloc.
Referenced by LoadSound(), and OpenPlayerFile().
Definition at line 303 of file alffmpeg.c.
References i.
Definition at line 185 of file alffmpeg.c.
References calloc, done_init, file, free, MemData_read(), MemData_seek(), MemData_write(), and NULL.
Definition at line 161 of file alffmpeg.c.
References calloc, done_init, file, free, and NULL.
Referenced by LoadSound(), and OpenPlayerFile().
Definition at line 567 of file alffmpeg.c.
References getAVAudioData(), memcpy, and NULL.
Referenced by StartPlayer(), and UpdatePlayer().