Changed AudioEncoder Application to gopus.Audio

This commit is contained in:
Matthieu Grieger 2015-01-14 11:56:46 -08:00
parent 4376fe7394
commit c8782447c1
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,9 @@
MumbleDJ Changelog
==================
### January 14, 2015 -- `v2.2.9`
* Set AudioEncoder Application to `gopus.Audio` instead of `gopus.Voice` for hopefully better sound quality.
### January 12, 2015 -- `v2.2.8`
* Added !nextsong command, which outputs some information about the next song in the queue if it exists.

View file

@ -10,6 +10,7 @@ package main
import (
"flag"
"fmt"
"github.com/layeh/gopus"
"github.com/layeh/gumble/gumble"
"github.com/layeh/gumble/gumble_ffmpeg"
"github.com/layeh/gumble/gumbleutil"
@ -55,6 +56,8 @@ func (dj *mumbledj) OnConnect(e *gumble.ConnectEvent) {
} else {
panic(err)
}
dj.client.AudioEncoder().SetApplication(gopus.Audio)
}
// OnDisconnect event. Terminates MumbleDJ thread.