diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libasound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libasound.c b/src/libasound.c index aae437b..d7027e9 100644 --- a/src/libasound.c +++ b/src/libasound.c @@ -235,7 +235,7 @@ snd_ctl_pcm_info(snd_ctl_t *ctl, snd_pcm_info_t *info) return -1; info->card = ctl->id; - return (PCMS[info->id].stream == info->stream ? 0 : -1); + return (PCMS[info->id].stream == info->stream ? 0 : -ENOENT); } const char* |