mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-07 13:30:07 -05:00
fixed debug messages by Erik Inge Bolso.
This commit is contained in:
parent
a6fe995bd8
commit
01f217d581
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
list_for_each(pos1, &plugin->instances) {
|
||||||
instance = list_entry(pos1, snd_pcm_ladspa_instance_t, list);
|
instance = list_entry(pos1, snd_pcm_ladspa_instance_t, list);
|
||||||
if (instance->channel == NO_ASSIGN) {
|
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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
if (instance->channel != channel) {
|
if (instance->channel != channel) {
|
||||||
|
|
@ -902,7 +902,7 @@ static int snd_pcm_ladspa_parse_ioconfig(snd_pcm_ladspa_plugin_t *lplug,
|
||||||
if (err >= 0) {
|
if (err >= 0) {
|
||||||
err = snd_pcm_ladspa_find_port(&array[channel], lplug, io->pdesc | LADSPA_PORT_AUDIO, port);
|
err = snd_pcm_ladspa_find_port(&array[channel], lplug, io->pdesc | LADSPA_PORT_AUDIO, port);
|
||||||
if (err < 0) {
|
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;
|
return err;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue