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;
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;
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;
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;