FFmpeg
Classes | Macros | Variables
openal-dec.c File Reference

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"

Classes

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)
 

Variables

AVInputFormat ff_openal_demuxer
 

Detailed Description

OpenAL 1.1 capture device for libavdevice.

Variable Documentation

§ ff_openal_demuxer

AVInputFormat ff_openal_demuxer
Initial value:
= {
.name = "openal",
.long_name = NULL_IF_CONFIG_SMALL("OpenAL audio capture device"),
.priv_data_size = sizeof(al_data),
.read_probe = NULL,
.read_header = read_header,
.read_packet = read_packet,
.read_close = read_close,
.flags = AVFMT_NOFILE,
.priv_class = &class
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:465
Definition: openal-dec.c:32