Skip to contentSkip to conversation

Remove stray Polypaudio strings

PATCH Applied Pierre Ossman 2 participants 2 messages Aug 28, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove stray Polypaudio strings

Some stray mentions of the old Polypaudio name was still present in the PulseAudio plug-in.

pulse/ctl_pulse.c +4 -4
diff -r fa66f27a1d63 pulse/ctl_pulse.c
@@ -689,10 +689,10 @@ SND_CTL_PLUGIN_DEFINE_FUNC(pulse)
     ctl->ext.version = SND_CTL_EXT_VERSION;
     ctl->ext.card_idx = 0;
     strncpy(ctl->ext.id, "pulse", sizeof(ctl->ext.id) - 1);
-    strncpy(ctl->ext.driver, "Polypaudio plugin", sizeof(ctl->ext.driver) - 1);
-    strncpy(ctl->ext.name, "Polypaudio", sizeof(ctl->ext.name) - 1);
-    strncpy(ctl->ext.longname, "Polypaudio", sizeof(ctl->ext.longname) - 1);
-    strncpy(ctl->ext.mixername, "Polypaudio", sizeof(ctl->ext.mixername) - 1);
+    strncpy(ctl->ext.driver, "PulseAudio plugin", sizeof(ctl->ext.driver) - 1);
+    strncpy(ctl->ext.name, "PulseAudio", sizeof(ctl->ext.name) - 1);
+    strncpy(ctl->ext.longname, "PulseAudio", sizeof(ctl->ext.longname) - 1);
+    strncpy(ctl->ext.mixername, "PulseAudio", sizeof(ctl->ext.mixername) - 1);
     ctl->ext.poll_fd = -1;
     ctl->ext.callback = &pulse_ext_callback;
     ctl->ext.private_data = ctl;
pulse/pcm_pulse.c +3 -3
diff -r fa66f27a1d63 pulse/pcm_pulse.c
@@ -471,7 +471,7 @@ static int pulse_prepare(snd_pcm_ioplug_
 
     err = pulse_wait_stream_state(pcm->p, pcm->stream, PA_STREAM_READY);
     if (err < 0) {
-        fprintf(stderr, "*** POLYPAUDIO: Unable to create stream.\n");
+        fprintf(stderr, "*** PULSEAUDIO: Unable to create stream.\n");
         pa_stream_unref(pcm->stream);
         pcm->stream = NULL;
         goto finish;
@@ -524,7 +524,7 @@ static int pulse_hw_params(snd_pcm_ioplu
         pcm->ss.format = PA_SAMPLE_FLOAT32BE;
         break;
     default:
-        fprintf(stderr, "*** POLYPAUDIO: unsupported format %s\n",
+        fprintf(stderr, "*** PULSEAUDIO: unsupported format %s\n",
             snd_pcm_format_name(io->format));
         err = -EINVAL;
         goto finish;
@@ -715,7 +715,7 @@ SND_PCM_PLUGIN_DEFINE_FUNC(pulse)
         goto error;
 
 	pcm->io.version = SND_PCM_IOPLUG_VERSION;
-	pcm->io.name = "ALSA <-> Polypaudio PCM I/O Plugin";
+	pcm->io.name = "ALSA <-> PulseAudio PCM I/O Plugin";
 	pcm->io.poll_fd = -1;
 	pcm->io.poll_events = 0;
 	pcm->io.mmap_rw = 0;

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Applied
#1 lore raw

At Mon, 28 Aug 2006 08:28:27 +0200,

Quoted 5 lines · Pierre Ossman

Some stray mentions of the old Polypaudio name was still present in the PulseAudio plug-in.

Applied to HG tree now.

Thanks.

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642