ports/www/libxul/files/patch-bug685258
Beat Gaetzi 734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00

17 lines
751 B
Text

# HG changeset patch
# User Oleg Romashin <romaxa@gmail.com>
# Parent a2291c212856ad27622416e83c8311b6a33b52f1
Bug 685258 - Pulse audio backend does not check provided playback and crashes r=derf
diff --git a/content/media/nsAudioStream.cpp b/content/media/nsAudioStream.cpp
--- content/media/nsAudioStream.cpp
+++ content/media/nsAudioStream.cpp
@@ -429,7 +429,7 @@ nsresult nsNativeAudioStream::Init(PRInt32 aNumChannels, PRInt32 aRate, SampleFo
mFormat = aFormat;
if (sa_stream_create_pcm(reinterpret_cast<sa_stream_t**>(&mAudioHandle),
- NULL,
+ "Mozilla",
SA_MODE_WRONLY,
SA_PCM_FORMAT_S16_NE,
aRate,