prevent openal errors from breaking UI
This commit is contained in:
@@ -47,6 +47,9 @@ func main() {
|
|||||||
b.Client.Attach(gumbleutil.AutoBitrate)
|
b.Client.Attach(gumbleutil.AutoBitrate)
|
||||||
b.Client.Attach(&b)
|
b.Client.Attach(&b)
|
||||||
// Audio
|
// Audio
|
||||||
|
if os.Getenv("ALSOFT_LOGLEVEL") == "" {
|
||||||
|
os.Setenv("ALSOFT_LOGLEVEL", "0")
|
||||||
|
}
|
||||||
if stream, err := gumble_openal.New(b.Client); err != nil {
|
if stream, err := gumble_openal.New(b.Client); err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "%s\n", err)
|
fmt.Fprintf(os.Stderr, "%s\n", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user