summaryrefslogtreecommitdiff
path: root/src/pcm/pcm_adpcm.c
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo@alsa-project.org>2001-03-04 20:39:02 +0000
committerAbramo Bagnara <abramo@alsa-project.org>2001-03-04 20:39:02 +0000
commitbbaeb29a74004a7d7ee7b4165f88d9b08aa93a8c (patch)
tree606dee63ae10adc971cf9f1daa5bebbaff48ca62 /src/pcm/pcm_adpcm.c
parent84732560a9398ba78db2881af3e03bd3a8259fe3 (diff)
Renamed ERR to SNDERR. Added s16 pseudo meter scope. Fixed plug hw_refine/params
Diffstat (limited to 'src/pcm/pcm_adpcm.c')
-rw-r--r--src/pcm/pcm_adpcm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pcm/pcm_adpcm.c b/src/pcm/pcm_adpcm.c
index 6d033ccf..d0ee3abc 100644
--- a/src/pcm/pcm_adpcm.c
+++ b/src/pcm/pcm_adpcm.c
@@ -581,7 +581,7 @@ int _snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name,
if (strcmp(id, "sname") == 0) {
err = snd_config_get_string(n, &sname);
if (err < 0) {
- ERR("Invalid type for %s", id);
+ SNDERR("Invalid type for %s", id);
return -EINVAL;
}
continue;
@@ -590,30 +590,30 @@ int _snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name,
const char *f;
err = snd_config_get_string(n, &f);
if (err < 0) {
- ERR("Invalid type for %s", id);
+ SNDERR("Invalid type for %s", id);
return -EINVAL;
}
sformat = snd_pcm_format_value(f);
if (sformat == SND_PCM_FORMAT_UNKNOWN) {
- ERR("Unknown sformat");
+ SNDERR("Unknown sformat");
return -EINVAL;
}
if (snd_pcm_format_linear(sformat) != 1 &&
sformat != SND_PCM_FORMAT_IMA_ADPCM) {
- ERR("Invalid sformat");
+ SNDERR("Invalid sformat");
return -EINVAL;
}
continue;
}
- ERR("Unknown field %s", id);
+ SNDERR("Unknown field %s", id);
return -EINVAL;
}
if (!sname) {
- ERR("sname is not defined");
+ SNDERR("sname is not defined");
return -EINVAL;
}
if (sformat == SND_PCM_FORMAT_UNKNOWN) {
- ERR("sformat is not defined");
+ SNDERR("sformat is not defined");
return -EINVAL;
}
/* This is needed cause snd_config_update may destroy config */