paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Variables
ogg_afh.c File Reference

Audio format handler for ogg/vorbis files. More...

#include <vorbis/codec.h>
#include <regex.h>
#include "para.h"
#include "afh.h"
#include "error.h"
#include "string.h"
#include "ogg_afh_common.h"

Variables

const struct audio_format_handler ogg_afh
 The ogg vorbis audio format handler. More...
 

Detailed Description

Audio format handler for ogg/vorbis files.

Variable Documentation

◆ ogg_afh

const struct audio_format_handler ogg_afh
Initial value:
= {
.get_file_info = ogg_vorbis_get_file_info,
.get_header = vorbis_get_header,
.suffixes = ogg_suffixes,
.rewrite_tags = vorbis_rewrite_tags
}

The ogg vorbis audio format handler.

It should actually be called vorbis because the ogg container format is also employed for the speex and flac codecs. Both the ogg and the vorbis libraries must be installed to get this audio format handler.