FFmpeg
Data Structures | Macros | Functions
oss.h File Reference
#include <stdint.h>
#include "libavutil/log.h"
#include "libavcodec/codec_id.h"
#include "libavformat/avformat.h"

Go to the source code of this file.

Data Structures

struct  OSSAudioData
 

Macros

#define OSS_AUDIO_BLOCK_SIZE   4096
 

Functions

int ff_oss_audio_open (AVFormatContext *s1, int is_output, const char *audio_device)
 
int ff_oss_audio_close (OSSAudioData *s)
 

Macro Definition Documentation

◆ OSS_AUDIO_BLOCK_SIZE

#define OSS_AUDIO_BLOCK_SIZE   4096

Definition at line 27 of file oss.h.

Function Documentation

◆ ff_oss_audio_open()

int ff_oss_audio_open ( AVFormatContext s1,
int  is_output,
const char *  audio_device 
)

Definition at line 39 of file oss.c.

Referenced by audio_read_header(), and audio_write_header().

◆ ff_oss_audio_close()

int ff_oss_audio_close ( OSSAudioData s)

Definition at line 136 of file oss.c.

Referenced by audio_read_close(), and audio_write_trailer().