Fix audio output

Let GStreamer decide which audio sink to use and do not force use the ALSA sink.

Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D10657
This commit is contained in:
Tobias Kortkamp 2017-05-09 14:04:18 +00:00
parent 27daae85db
commit 22a1cd48c8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440499
2 changed files with 12 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= monkeybubble
PORTVERSION= 0.4.0
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= games gnome
MASTER_SITES= http://home.gna.org/monkeybubble/downloads/
DISTNAME= monkey-bubble-${PORTVERSION}

View File

@ -0,0 +1,11 @@
--- src/audio/sound-manager.c.orig 2017-05-09 13:02:38 UTC
+++ src/audio/sound-manager.c
@@ -223,7 +223,7 @@ start_play(SoundManager *m, gchar * path)
PRIVATE(m)->vorbis_dec = gst_element_factory_make("vorbisdec","vorbisdec");
PRIVATE(m)->audioconvert = gst_element_factory_make("audioconvert","audioconvert");
PRIVATE(m)->audioscale = gst_element_factory_make("audioscale", "audioscale");
- PRIVATE(m)->output = gst_element_factory_make("alsasink", "alsa-output");
+ PRIVATE(m)->output = gst_element_factory_make("autoaudiosink", "autoaudiosink");
PRIVATE(m)->current_music_path = g_strdup(path);