Merge branch 'miami' of https://github.com/GTAmodding/re3 into miamiDev

This commit is contained in:
Roman Masanin
2020-10-24 22:26:56 +03:00
16 changed files with 603 additions and 763 deletions

View File

@ -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)