Actual buildable 4.6.1 release
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
|
||||
#include "audio_stream_mp3.h"
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
|
||||
int AudioStreamPlaybackMP3::_mix_internal(AudioFrame *p_buffer, int p_frames) {
|
||||
if (!active) {
|
||||
return 0;
|
||||
@@ -239,7 +241,7 @@ void AudioStreamMP3::set_data(const Vector<uint8_t> &p_data) {
|
||||
}
|
||||
|
||||
Vector<uint8_t> AudioStreamMP3::get_data() const {
|
||||
return data;
|
||||
return Vector<uint8_t>(data);
|
||||
}
|
||||
|
||||
void AudioStreamMP3::set_loop(bool p_enable) {
|
||||
|
||||
Reference in New Issue
Block a user