libavdevice/alsa-audio-enc.c File Reference

ALSA input and output: output. More...

#include "libavformat/avformat.h"
#include <alsa/asoundlib.h>
#include "alsa-audio.h"

Go to the source code of this file.


static av_cold int audio_write_header (AVFormatContext *s1)
static int audio_write_packet (AVFormatContext *s1, AVPacket *pkt)


AVOutputFormat alsa_muxer

Detailed Description

ALSA input and output: output.

Luca Abeni ( lucabe72 email it )

Benoit Fouet ( benoit fouet free fr )

This avdevice encoder allows to play audio to an ALSA (Advanced Linux Sound Architecture) device.

The filename parameter is the name of an ALSA PCM device capable of capture, for example "default" or "plughw:1"; see the ALSA documentation for naming conventions. The empty string is equivalent to "default".

The playback period is set to the lower value available for the device, which gives a low latency suitable for real-time playback.

Definition in file alsa-audio-enc.c.

Function Documentation

static av_cold int audio_write_header ( AVFormatContext s1  )  [static]

Definition at line 45 of file alsa-audio-enc.c.

static int audio_write_packet ( AVFormatContext s1,
AVPacket pkt 
) [static]

Definition at line 72 of file alsa-audio-enc.c.

Variable Documentation

Initial value:

Definition at line 96 of file alsa-audio-enc.c.

Generated on Fri Oct 26 02:35:45 2012 for FFmpeg by  doxygen 1.5.8