mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added missing break for 24bit formats (silence)
This commit is contained in:
parent
e38dd10880
commit
8750215edb
2 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue