mcpp index

compat.ogg

#include

libogg 1.3.6 — the Ogg container's framing and bit-packing library (Xiph.Org), BSD-3-Clause

#include <ogg/ogg.h>
mcpp add compat.ogg@1.3.6

用法

來自本倉庫自己的測試專案 —— CI 真的編譯並執行過,不是為了網站寫的。

// compat.ogg + compat.opus + compat.opusfile — Opus audio end to end.
//
// WHAT THIS ASSERTS AND WHY
//
// Each check exercises a different part of the three source lists, so a file
// left out of a descriptor shows up as a link error or a wrong answer here:
//
//   the versions           opus_get_version_string, the generated config.h
//   CELT                   48 kHz stereo music at 128 kb/s, decoded back with
//                          a signal-to-noise ratio a correct codec reaches
//   SILK                   16 kHz mono speech mode (OPUS_APPLICATION_VOIP),
//                          the float encoder of silk/float
//   the packet parsers     channels, bandwidth, frames, samples per frame
//   multistream            5.1 surround (mapping family 1) encoded and decoded
//   projection             ambisonics (mapping family 3), the matrix code
//   the repacketizer       two packets merged into one, decoded as one
//   libogg                 an Ogg Opus stream (RFC 7845) paged with ogg_stream_*
//   opusfile               that stream opened from memory: OpusHead, OpusTags,
//                          the exact length, sample-accurate seeking, float PCM
//
// A pass means the codec, the container and the file reader agree with one
// another and with the RFCs, on this platform's build of each.
// …

tests/examples/opus/tests/opus.cpp · 專案 tests/examples/opus

建置

targets
ogg (lib)
language
c++23
C standard
c99
import std
no
include dirs
*/include, mcpp_generated

原始檔 (2)

  • */src/framing.c
  • */src/bitwise.c

產生的檔案

  • mcpp_generated/ogg/config_types.h

版本

版本平台 鏡像sha256
1.3.6 最新 LinuxWindowsmacOS CN GLOBAL 83e670473068…