mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-12-19 05:33:28 +00:00
스킵 구현
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
\page oggopus Streaming Ogg Opus file
|
||||
|
||||
This example shows how to stream an Ogg Opus file to a voice channel. This example requires some additional dependencies, namely `libogg` and `opusfile`.
|
||||
|
||||
\include{cpp} oggopus.cpp
|
||||
|
||||
You can compile this example using the following command
|
||||
|
||||
```bash
|
||||
c++ /path/to/source.cc -ldpp -lopus -lopusfile -logg -I/usr/include/opus
|
||||
```
|
||||
|
||||
## Using liboggz
|
||||
|
||||
You can use `liboggz` to stream an Ogg Opus file to discord voice channel.
|
||||
`liboggz` provides higher level abstraction and useful APIs. Some features `liboggz` provides include: seeking and timestamp interpretation.
|
||||
Read more on the [documentation](https://www.xiph.org/oggz/doc/).
|
||||
|
||||
\include{cpp} oggopus2.cpp
|
||||
|
||||
You can compile this example using the following command:
|
||||
|
||||
```bash
|
||||
c++ /path/to/source.cc -ldpp -loggz
|
||||
```
|
||||
Reference in New Issue
Block a user