Audio: Minor fixes

This commit is contained in:
Jérôme Leclercq
2021-05-30 02:33:11 +02:00
parent 79b6b87379
commit 2d16cf81d1
2 changed files with 10 additions and 19 deletions

View File

@@ -292,17 +292,17 @@ namespace Nz
}
private:
std::mutex m_mutex;
std::unique_ptr<Stream> m_ownedStream;
std::vector<Int16> m_mixBuffer;
AudioFormat m_format;
mp3dec_ex_t m_decoder;
mp3dec_io_t m_io;
bool m_mixToMono;
std::mutex m_mutex;
UInt32 m_duration;
UInt32 m_sampleRate;
UInt64 m_readSampleCount;
UInt64 m_sampleCount;
bool m_mixToMono;
};
std::shared_ptr<SoundStream> LoadSoundStreamFile(const std::filesystem::path& filePath, const SoundStreamParams& parameters)