OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c4d2a
)
[Qt][OSD][SOUND] Make sound-buffer larger to fix chopping sound at eFMTowns.
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 20 Jul 2022 04:21:04 +0000
(13:21 +0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 20 Jul 2022 04:21:04 +0000
(13:21 +0900)
source/src/qt/osd_sound.cpp
patch
|
blob
|
history
diff --git
a/source/src/qt/osd_sound.cpp
b/source/src/qt/osd_sound.cpp
index
d0ac981
..
38b37b7
100644
(file)
--- a/
source/src/qt/osd_sound.cpp
+++ b/
source/src/qt/osd_sound.cpp
@@
-491,7
+491,7
@@
void OSD_BASE::initialize_sound(int rate, int samples, int* presented_rate, int*
}
int outbuffer_length = samples * 2;
#if 1
- m_audioOutput = new SOUND_BUFFER_QT(samples * 2 * sizeof(int16_t) *
2
);
+ m_audioOutput = new SOUND_BUFFER_QT(samples * 2 * sizeof(int16_t) *
4
);
if(m_audioOutput != nullptr) {
m_audioOutput->open(QIODeviceBase::ReadWrite);
}