mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-18 08:56:42 -05: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;
|
int idx;
|
||||||
|
|
||||||
a = slave_rbptr->link_dst;
|
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) {
|
if (a[idx] == pcm) {
|
||||||
a[idx] = NULL;
|
a[idx] = NULL;
|
||||||
goto __found;
|
goto __found;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
assert(0);
|
assert(0);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -589,6 +589,7 @@ int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
case 32: {
|
case 32: {
|
||||||
u_int32_t silence = snd_pcm_format_silence_64(format);
|
u_int32_t silence = snd_pcm_format_silence_64(format);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue