Enable pcm-dump only for sink-input 06/56106/1
authorMok Jeongho <jho.mok@samsung.com>
Mon, 4 Jan 2016 06:07:21 +0000 (15:07 +0900)
committerMok Jeongho <jho.mok@samsung.com>
Mon, 4 Jan 2016 06:08:37 +0000 (15:08 +0900)
[Version] 5.0-55
[Profile] Common
[Issue Type] Fix Bug

Change-Id: I3115490ec4b4adc18821d35011225a729f56e383

packaging/pulseaudio.spec
src/pulsecore/sink-input.c

index bad5f60..75e0177 100644 (file)
@@ -10,7 +10,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          5.0
-Release:          54
+Release:          55
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
 URL:              http://pulseaudio.org
index e99012c..f3eb318 100644 (file)
@@ -1144,7 +1144,7 @@ void pa_sink_input_peek(pa_sink_input *i, size_t slength /* in sink bytes */, pa
             pa_xfree(dump_path);
         }
     /* close file for dump pcm when config is changed */
-    } else if (!i->core->dump_sink && i->dump_fp) {
+    } else if (!i->core->dump_sink_input && i->dump_fp) {
         fclose(i->dump_fp);
         i->dump_fp = NULL;
     }