fixed compile with the recent changes.

This commit is contained in:
Takashi Iwai 2002-06-12 16:38:42 +00:00
parent 46f5b240c4
commit 889e3bc1c6

View file

@ -218,7 +218,8 @@ int snd_pcm_scope_level_open(snd_pcm_t *pcm, const char *name,
}
int _snd_pcm_scope_level_open(snd_pcm_t *pcm, const char *name,
snd_config_t *conf)
snd_config_t *root, snd_config_t *conf,
snd_pcm_stream_t stream, int mode)
{
snd_config_iterator_t i, next;
snd_pcm_scope_t *scope;
@ -226,7 +227,9 @@ int _snd_pcm_scope_level_open(snd_pcm_t *pcm, const char *name,
int err;
snd_config_for_each(i, next, conf) {
snd_config_t *n = snd_config_iterator_entry(i);
const char *id = snd_config_get_id(n);
const char *id;
if (snd_config_get_id(n, &id) < 0)
continue;
if (strcmp(id, "comment") == 0)
continue;
if (strcmp(id, "type") == 0)