Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit 128f34b

Browse files
chore: replace dca-rs (bwmarrin#1240)
* chore: replace dca-rs * Update examples/airhorn/README.md Co-authored-by: Fedor Lapshin <[email protected]> Co-authored-by: Fedor Lapshin <[email protected]>
1 parent e580734 commit 128f34b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

examples/airhorn/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ The below example shows how to start the bot from the airhorn example folder.
3939
Airhorn bot uses [DCA](https://github.com/bwmarrin/dca) files, which are
4040
pre-computed files that are easy to send to Discord.
4141

42-
If you would like to create your own DCA files, please use:
43-
* [dca-rs](https://github.com/nstafie/dca-rs)
4442

45-
See the below example of creating a DCA file from a WAV file. This also works
46-
with MP3, FLAC, and many other file formats. Of course, you will need to
47-
[install](https://github.com/nstafie/dca-rs#installation) dca-rs first :)
43+
See the below example of creating a DCA file from a MP3 file. This also works
44+
with WAV, FLAC, and many other file formats. Of course, you will need to [install](https://github.com/bwmarrin/dca/tree/master/cmd/dca#Getting-Started)
45+
FFmpeg and the DCA CLI first.
4846

4947
```sh
50-
./dca-rs -i <input wav file> --raw > <output file>
48+
ffmpeg -i test.mp3 -f s16le -ar 48000 -ac 2 pipe:1 | dca > test.dca
5149
```

0 commit comments

Comments
 (0)