summaryrefslogtreecommitdiffstats
path: root/src/audio/oal/stream.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-10-24 21:26:56 +0200
committerRoman Masanin <36927roma@gmail.com>2020-10-24 21:26:56 +0200
commita12789c632897c2f1339f806158e84c565bd8580 (patch)
treef7eb31c812c3c194eeee0c8defe440e675eae567 /src/audio/oal/stream.cpp
parentmark reflections done (diff)
parentModel indices edits (diff)
downloadre3-a12789c632897c2f1339f806158e84c565bd8580.tar
re3-a12789c632897c2f1339f806158e84c565bd8580.tar.gz
re3-a12789c632897c2f1339f806158e84c565bd8580.tar.bz2
re3-a12789c632897c2f1339f806158e84c565bd8580.tar.lz
re3-a12789c632897c2f1339f806158e84c565bd8580.tar.xz
re3-a12789c632897c2f1339f806158e84c565bd8580.tar.zst
re3-a12789c632897c2f1339f806158e84c565bd8580.zip
Diffstat (limited to 'src/audio/oal/stream.cpp')
-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 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)