Added missing break for 24bit formats (silence)

This commit is contained in:
Jaroslav Kysela 2002-12-18 12:03:28 +00:00
parent e38dd10880
commit 8750215edb
2 changed files with 3 additions and 1 deletions

View file

@ -6285,11 +6285,12 @@ static void snd_pcm_unlink_ptr(snd_pcm_t *pcm, snd_pcm_rbptr_t *pcm_rbptr,
int idx;
a = slave_rbptr->link_dst;
for (idx = 0; idx < slave_rbptr->link_dst_count; idx++)
for (idx = 0; idx < slave_rbptr->link_dst_count; idx++) {
if (a[idx] == pcm) {
a[idx] = NULL;
goto __found;
}
}
assert(0);
return;

View file

@ -589,6 +589,7 @@ int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int
#endif
}
}
break;
}
case 32: {
u_int32_t silence = snd_pcm_format_silence_64(format);