From 224a881062aa8e56139ea4d0c03a0b6497025aa6 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 28 Aug 2006 13:09:31 +0200 Subject: Remove stray Polypaudio strings Some stray mentions of the old Polypaudio name was still present in the PulseAudio plug-in. Signed-off-by: Pierre Ossman --- pulse/ctl_pulse.c | 8 ++++---- pulse/pcm_pulse.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'pulse') diff --git a/pulse/ctl_pulse.c b/pulse/ctl_pulse.c index 06e087f..d1ac325 100644 --- a/pulse/ctl_pulse.c +++ b/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; diff --git a/pulse/pcm_pulse.c b/pulse/pcm_pulse.c index 3f5247e..96affac 100644 --- a/pulse/pcm_pulse.c +++ b/pulse/pcm_pulse.c @@ -471,7 +471,7 @@ static int pulse_prepare(snd_pcm_ioplug_t *io) 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_ioplug_t *io, snd_pcm_hw_params_t *params) 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; -- cgit