summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-bug685258
blob: ead2d38582099dc55ab9cd18767fb682e1960d7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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,