projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mixer: fade: Handle empty mood strings gracefully.
[paraslash.git]
/
opus_common.h
diff --git
a/opus_common.h
b/opus_common.h
index 71923f119b10806ca6fb973dc66ea0179665edfc..f8cf459c1008fe9731d9eaaaf253fd1be6710af9 100644
(file)
--- a/
opus_common.h
+++ b/
opus_common.h
@@
-1,3
+1,10
@@
+/* Copyright (C) 2013 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
+
+/**
+ * \file opus_common.h
+ * Common declarations for the opus decoder and audio format handler.
+ */
+
/** Various bits stored in the header of an opus stream. */
struct opus_header {
/** lower 4 bits of the version byte, must be 0. */
/** Various bits stored in the header of an opus stream. */
struct opus_header {
/** lower 4 bits of the version byte, must be 0. */
@@
-5,11
+12,11
@@
struct opus_header {
/** 1..255 */
int channels;
/** Number of bytes to skip from the beginning. */
/** 1..255 */
int channels;
/** Number of bytes to skip from the beginning. */
-
in
t preskip;
+
uint16_
t preskip;
/** Sample rate of the input stream, used by the audio format handler. */
/** Sample rate of the input stream, used by the audio format handler. */
-
ogg_
uint32_t input_sample_rate;
+ uint32_t input_sample_rate;
/** In dB, should be zero whenever possible. */
/** In dB, should be zero whenever possible. */
-
in
t gain;
+
uint16_
t gain;
/** Number of logical streams (usually 1). */
int nb_streams;
/** Number of streams to decode as 2 channel streams. */
/** Number of logical streams (usually 1). */
int nb_streams;
/** Number of streams to decode as 2 channel streams. */