summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-24 15:37:14 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-24 15:37:14 +0200
commita492f8ba0d7bf4a740ed91ccd7820a3afd9a111b (patch)
tree0dac1718f0a6aa2edb57c73dbf81c6cfebca4a0c
parentUse audio enum (diff)
downloadre3-a492f8ba0d7bf4a740ed91ccd7820a3afd9a111b.tar
re3-a492f8ba0d7bf4a740ed91ccd7820a3afd9a111b.tar.gz
re3-a492f8ba0d7bf4a740ed91ccd7820a3afd9a111b.tar.bz2
re3-a492f8ba0d7bf4a740ed91ccd7820a3afd9a111b.tar.lz
re3-a492f8ba0d7bf4a740ed91ccd7820a3afd9a111b.tar.xz
re3-a492f8ba0d7bf4a740ed91ccd7820a3afd9a111b.tar.zst
re3-a492f8ba0d7bf4a740ed91ccd7820a3afd9a111b.zip
Diffstat (limited to '')
-rw-r--r--src/audio/oal/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp
index 3af50ea8..3adb702a 100644
--- a/src/audio/oal/stream.cpp
+++ b/src/audio/oal/stream.cpp
@@ -195,7 +195,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)