]> git.alsa-project.org Git - alsa-lib.git/commitdiff
fixed debug messages by Erik Inge Bolso.
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 May 2004 15:54:01 +0000 (15:54 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 May 2004 15:54:01 +0000 (15:54 +0000)
src/pcm/pcm_ladspa.c

index 3b80225df0f49a0d3f974495373229acd35e97eb..5ff8236936ef32c329f783df36b8c37b65ff047d 100644 (file)
@@ -492,7 +492,7 @@ static int snd_pcm_ladspa_allocate_memory(snd_pcm_t *pcm, snd_pcm_ladspa_t *lads
                        list_for_each(pos1, &plugin->instances) {
                                instance = list_entry(pos1, snd_pcm_ladspa_instance_t, list);
                                if (instance->channel == NO_ASSIGN) {
-                                       SNDERR("channel %u is not assigned for plugin '%s' depth %u", plugin->desc->Name, instance->channel, instance->depth);
+                                       SNDERR("channel %u is not assigned for plugin '%s' depth %u", instance->channel, plugin->desc->Name, instance->depth);
                                        return -EINVAL;
                                }
                                if (instance->channel != channel) {
@@ -902,7 +902,7 @@ static int snd_pcm_ladspa_parse_ioconfig(snd_pcm_ladspa_plugin_t *lplug,
                                if (err >= 0) {
                                        err = snd_pcm_ladspa_find_port(&array[channel], lplug, io->pdesc | LADSPA_PORT_AUDIO, port);
                                        if (err < 0) {
-                                               SNDERR("Unable to find an audio port (%li) for channel %s", port);
+                                               SNDERR("Unable to find an audio port (%li) for channel %s", port, id);
                                                return err;
                                        }
                                        continue;