mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
add file reference link
This commit is contained in:
parent
c4c6ff8376
commit
42fd3a749d
|
@ -15,6 +15,9 @@
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
|
|
||||||
|
// take reference from this file (https://github.com/valbok/QtAVPlayer/blob/6cc30e484b354d59511c9a60fabced4cb7c57c8e/src/QtAVPlayer/qavaudiooutput.cpp)
|
||||||
|
// and make some changes.
|
||||||
|
|
||||||
static QAudioFormat format( int sampleRate, int channelCount )
|
static QAudioFormat format( int sampleRate, int channelCount )
|
||||||
{
|
{
|
||||||
QAudioFormat out;
|
QAudioFormat out;
|
||||||
|
|
Loading…
Reference in a new issue