paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Macros | Variables
opus_afh.c File Reference

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

#include <ogg/ogg.h>
#include <regex.h>
#include "para.h"
#include "afh.h"
#include "error.h"
#include "portable_io.h"
#include "string.h"
#include "opus_common.h"
#include "ogg_afh_common.h"

Macros

#define OPUS_COMMENT_HEADER   "OpusTags"
 

Variables

const struct audio_format_handler opus_afh
 The audio format handler for ogg/opus. More...
 

Detailed Description

Audio format handler for ogg/opus files.

Macro Definition Documentation

◆ OPUS_COMMENT_HEADER

#define OPUS_COMMENT_HEADER   "OpusTags"

Variable Documentation

◆ opus_afh

const struct audio_format_handler opus_afh
Initial value:
= {
.get_file_info = opus_get_file_info,
.get_header = opus_get_header,
.suffixes = opus_suffixes,
.rewrite_tags = opus_rewrite_tags,
}

The audio format handler for ogg/opus.

The opus codec was standardized by the Internet Engineering Task Force and is described in RFC 6716 (2012). The audio format handler depends on the ogg and the opus libraries.