FFmpeg
|
OpenAL 1.1 capture device for libavdevice. More...
#include <AL/al.h>
#include <AL/alc.h>
#include "libavutil/opt.h"
#include "libavutil/time.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 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" | |
item_name = av_default_item_name | |
option = options | |
}; | |
AVInputFormat | ff_openal_demuxer |
Detailed Description
OpenAL 1.1 capture device for libavdevice.
Definition in file openal-dec.c.
Macro Definition Documentation
#define LOWEST_AL_FORMAT FFMIN(FFMIN(AL_FORMAT_MONO8,AL_FORMAT_MONO16),FFMIN(AL_FORMAT_STEREO8,AL_FORMAT_STEREO16)) |
Definition at line 56 of file openal-dec.c.
Referenced by get_al_format_info().
Definition at line 223 of file openal-dec.c.
Function Documentation
|
inlinestatic |
Get the OpenAL error code, translated into an av/errno error code.
- Parameters
-
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.
- Returns
- The error code, or 0 if there is no error.
Definition at line 81 of file openal-dec.c.
Referenced by read_header(), and read_packet().
|
inlinestatic |
Get information about an AL_FORMAT value.
- Parameters
-
al_fmt the AL_FORMAT value to find information about.
- Returns
- A pointer to a structure containing information about the AL_FORMAT value.
Definition at line 63 of file openal-dec.c.
Referenced by read_header().
Print out a list of OpenAL capture devices on this system.
Definition at line 108 of file openal-dec.c.
Referenced by read_header().
|
static |
Definition at line 212 of file openal-dec.c.
|
static |
Definition at line 121 of file openal-dec.c.
|
static |
Definition at line 183 of file openal-dec.c.
Variable Documentation
const { ... } |
|
private |
Definition at line 236 of file openal-dec.c.
AVInputFormat ff_openal_demuxer |
Definition at line 242 of file openal-dec.c.
|
private |
Definition at line 237 of file openal-dec.c.
|
private |
Definition at line 238 of file openal-dec.c.
|
static |
Definition at line 225 of file openal-dec.c.
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11