]> code.delx.au - pulseaudio/blobdiff - src/modules/module-sine.c
dbusiface-core: Make the interface string a public constant.
[pulseaudio] / src / modules / module-sine.c
index b0782c3c10c785aaefb4e9fa164dd078b8c0d92f..0be1d72286ade09be7a507e4a5c18529b2edae1f 100644 (file)
@@ -5,7 +5,7 @@
 
   PulseAudio is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as published
-  by the Free Software Foundation; either version 2 of the License,
+  by the Free Software Foundation; either version 2.1 of the License,
   or (at your option) any later version.
 
   PulseAudio is distributed in the hope that it will be useful, but
@@ -163,7 +163,7 @@ int pa__init(pa_module*m) {
     pa_proplist_setf(data.proplist, "sine.hz", "%u", frequency);
     pa_sink_input_new_data_set_sample_spec(&data, &ss);
 
-    u->sink_input = pa_sink_input_new(m->core, &data, 0);
+    pa_sink_input_new(&u->sink_input, m->core, &data, 0);
     pa_sink_input_new_data_done(&data);
 
     if (!u->sink_input)