FFmpeg
|
#include <AL/al.h>
#include <AL/alc.h>
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavformat/demux.h"
#include "libavformat/internal.h"
#include "avdevice.h"
Go to the source code of this file.
Data Structures | |
struct | al_data |
struct | al_format_info |
Macros | |
#define | LOWEST_AL_FORMAT FFMIN(FFMIN(AL_FORMAT_MONO8,AL_FORMAT_MONO16),FFMIN(AL_FORMAT_STEREO8,AL_FORMAT_STEREO16)) |
#define | OFFSET(x) offsetof(al_data, x) |
Functions | |
static const al_format_info * | get_al_format_info (ALCenum al_fmt) |
Get information about an AL_FORMAT value. More... | |
static int | al_get_error (ALCdevice *device, const char **error_msg_ret) |
Get the OpenAL error code, translated into an av/errno error code. More... | |
static void | print_al_capture_devices (void *log_ctx) |
Print out a list of OpenAL capture devices on this system. More... | |
static int | read_header (AVFormatContext *ctx) |
static int | read_packet (AVFormatContext *ctx, AVPacket *pkt) |
static int | read_close (AVFormatContext *ctx) |
Variables | |
static const AVOption | options [] |
class { | |
class_name = "openal indev" | |
item_name = av_default_item_name | |
option = options | |
version = LIBAVUTIL_VERSION_INT | |
category = AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT | |
}; | |
const FFInputFormat | ff_openal_demuxer |
OpenAL 1.1 capture device for libavdevice
Definition in file openal-dec.c.
#define LOWEST_AL_FORMAT FFMIN(FFMIN(AL_FORMAT_MONO8,AL_FORMAT_MONO16),FFMIN(AL_FORMAT_STEREO8,AL_FORMAT_STEREO16)) |
Definition at line 57 of file openal-dec.c.
#define OFFSET | ( | x | ) | offsetof(al_data, x) |
Definition at line 232 of file openal-dec.c.
|
inlinestatic |
Get information about an AL_FORMAT value.
al_fmt | the AL_FORMAT value to find information about. |
Definition at line 64 of file openal-dec.c.
Referenced by read_header().
|
inlinestatic |
Get the OpenAL error code, translated into an av/errno error code.
device | The ALC device to check for errors. |
error_msg_ret | A pointer to a char* in which to return the error message, or NULL if desired. |
Definition at line 82 of file openal-dec.c.
Referenced by read_header(), and read_packet().
|
inlinestatic |
Print out a list of OpenAL capture devices on this system.
Definition at line 109 of file openal-dec.c.
Referenced by read_header().
|
static |
Definition at line 122 of file openal-dec.c.
|
static |
Definition at line 184 of file openal-dec.c.
|
static |
Definition at line 221 of file openal-dec.c.
Definition at line 234 of file openal-dec.c.
|
private |
Definition at line 245 of file openal-dec.c.
|
private |
Definition at line 246 of file openal-dec.c.
|
private |
Definition at line 247 of file openal-dec.c.
|
private |
Definition at line 248 of file openal-dec.c.
|
private |
Definition at line 249 of file openal-dec.c.
Referenced by categorize(), decode_vector(), decode_vectors(), dshow_cycle_pins(), dshow_get_device_media_types(), expand_category(), ff_instantiate_mf(), mf_create(), mono_decode(), next_input(), next_output(), show_log(), and unpack_SQVH().
const { ... } |
const FFInputFormat ff_openal_demuxer |
Definition at line 252 of file openal-dec.c.