From 1a9beeaf076417cc52bfd73de4eba3c20cb21393 Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Sun, 31 Oct 2021 00:22:24 +0100 Subject: [PATCH] docs: fix markdown syntax (accidental org mode) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9349b73..f615e84 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ See https://godoc.org/gopkg.in/hraban/opus.v2#Stream for further info. Note: this package only does _encoding_ of your audio, to _raw opus data_. You can't just dump those all in one big file and play it back. You need extra info. First of all, you need to know how big each individual block is. Remember: opus data is a stream of encoded separate blocks, not one big stream of bytes. Second, you need meta-data: how many channels? What's the sampling rate? Frame size? Etc. -Look closely at the decoding sample code (not stream), above: we're passing all that meta-data in, hard-coded. If you just put all your encoded bytes in one big file and gave that to a media player, it wouldn't know what to do with it. It wouldn't even know that it's Opus data. It would just look like =/dev/random=. +Look closely at the decoding sample code (not stream), above: we're passing all that meta-data in, hard-coded. If you just put all your encoded bytes in one big file and gave that to a media player, it wouldn't know what to do with it. It wouldn't even know that it's Opus data. It would just look like `/dev/random`. What you need is a [container format](https://en.wikipedia.org/wiki/Container_format_(computing)). -- 2.48.1