add file reference link

This commit is contained in:
Xiao YiFang 2022-11-12 17:26:10 +08:00
parent c4c6ff8376
commit 42fd3a749d

View file

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