diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-24 15:37:14 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-24 15:37:39 +0200 |
commit | 3d14097bf645a124a839204f2fd6d7420bf823f1 (patch) | |
tree | 11161e29b0c881523b70959a4d6c20a0f1e01459 /src/audio/oal/stream.cpp | |
parent | more ScriptSounds (diff) | |
download | re3-3d14097bf645a124a839204f2fd6d7420bf823f1.tar re3-3d14097bf645a124a839204f2fd6d7420bf823f1.tar.gz re3-3d14097bf645a124a839204f2fd6d7420bf823f1.tar.bz2 re3-3d14097bf645a124a839204f2fd6d7420bf823f1.tar.lz re3-3d14097bf645a124a839204f2fd6d7420bf823f1.tar.xz re3-3d14097bf645a124a839204f2fd6d7420bf823f1.tar.zst re3-3d14097bf645a124a839204f2fd6d7420bf823f1.zip |
Diffstat (limited to 'src/audio/oal/stream.cpp')
-rw-r--r-- | src/audio/oal/stream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp index 58b5dc02..06a38c29 100644 --- a/src/audio/oal/stream.cpp +++ b/src/audio/oal/stream.cpp @@ -202,7 +202,7 @@ public: if (m_FileH) { m_nChannels = op_head(m_FileH, 0)->channel_count; - m_nRate = op_head(m_FileH, 0)->input_sample_rate; + m_nRate = 48000; const OpusTags *tags = op_tags(m_FileH, 0); for (int i = 0; i < tags->comments; i++) { if (strncmp(tags->user_comments[i], "SAMPLERATE", sizeof("SAMPLERATE")-1) == 0) |