|
@@ -16,9 +16,6 @@ bot. (When developing on .NET Framework, this would be `bin/debug`, |
|
|
when developing on .NET Core, this is where you execute `dotnet run` |
|
|
when developing on .NET Core, this is where you execute `dotnet run` |
|
|
from; typically the same directory as your csproj). |
|
|
from; typically the same directory as your csproj). |
|
|
|
|
|
|
|
|
For Windows Users, precompiled binaries are available for your |
|
|
|
|
|
convienence [here](https://discord.foxbot.me/binaries/) |
|
|
|
|
|
|
|
|
|
|
|
For Linux Users, you will need to compile [Sodium] and [Opus] from |
|
|
For Linux Users, you will need to compile [Sodium] and [Opus] from |
|
|
source, or install them from your package manager. |
|
|
source, or install them from your package manager. |
|
|
|
|
|
|
|
@@ -98,4 +95,4 @@ you will want to wait for audio to stop playing before continuing on |
|
|
to the next song. You can await `AudioOutStream.FlushAsync` to wait for |
|
|
to the next song. You can await `AudioOutStream.FlushAsync` to wait for |
|
|
the audio client's internal buffer to clear out. |
|
|
the audio client's internal buffer to clear out. |
|
|
|
|
|
|
|
|
[!code-csharp[Sending Audio](samples/audio_ffmpeg.cs)] |
|
|
|
|
|
|
|
|
[!code-csharp[Sending Audio](samples/audio_ffmpeg.cs)] |