svn commit: r440499 - in head/games/monkeybubble: . files

Tobias Kortkamp tobik at FreeBSD.org
Tue May 9 14:04:20 UTC 2017


Author: tobik
Date: Tue May  9 14:04:18 2017
New Revision: 440499
URL: https://svnweb.freebsd.org/changeset/ports/440499

Log:
  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

Added:
  head/games/monkeybubble/files/patch-src_audio_sound-manager.c   (contents, props changed)
Modified:
  head/games/monkeybubble/Makefile

Modified: head/games/monkeybubble/Makefile
==============================================================================
--- head/games/monkeybubble/Makefile	Tue May  9 13:27:38 2017	(r440498)
+++ head/games/monkeybubble/Makefile	Tue May  9 14:04:18 2017	(r440499)
@@ -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}

Added: head/games/monkeybubble/files/patch-src_audio_sound-manager.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/monkeybubble/files/patch-src_audio_sound-manager.c	Tue May  9 14:04:18 2017	(r440499)
@@ -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);
+ 


More information about the svn-ports-all mailing list