Fix ogg edge cases
This commit is contained in:
parent
690fefe43e
commit
afd2bbaa5f
3 changed files with 23 additions and 27 deletions
|
|
@ -38,7 +38,9 @@
|
|||
#include "core/io/file_access.h"
|
||||
|
||||
int AudioStreamPlaybackMP3::_mix_internal(AudioFrame *p_buffer, int p_frames) {
|
||||
ERR_FAIL_COND_V(!active, 0);
|
||||
if (!active) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int todo = p_frames;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue