![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Go to the source code of this file.
Macros | |
| #define | DR_WAV_IMPLEMENTATION |
| #define | DR_WAV_NO_STDIO |
| #define | DR_WAV_NO_CONVERSION_API |
| #define | DR_WAV_NO_WCHAR |
| #define | DRWAV_API static |
| #define | DRWAV_PRIVATE static |
| #define | QtPrivate QtPrivateDrwavMultimediaTest |
Functions | |
| QT_BEGIN_NAMESPACE unsigned char * | writeSineSample (unsigned char *ptr, QAudioFormat::SampleFormat sampleFormat, qreal x) |
| QByteArray | createSineWaveData (const QAudioFormat &format, std::chrono::microseconds duration, qint32 sampleIndex, qreal frequency, qreal volume) |
| std::unique_ptr< QTemporaryFile > | makeMonoPcm16WavFile (int sampleRate, std::chrono::microseconds duration, qreal frequency, qreal volume) |
| #define DR_WAV_IMPLEMENTATION |
Definition at line 8 of file audiogenerationutils.cpp.
| #define DR_WAV_NO_CONVERSION_API |
Definition at line 10 of file audiogenerationutils.cpp.
| #define DR_WAV_NO_STDIO |
Definition at line 9 of file audiogenerationutils.cpp.
| #define DR_WAV_NO_WCHAR |
Definition at line 11 of file audiogenerationutils.cpp.
| #define DRWAV_API static |
Definition at line 12 of file audiogenerationutils.cpp.
| #define DRWAV_PRIVATE static |
Definition at line 13 of file audiogenerationutils.cpp.
| #define QtPrivate QtPrivateDrwavMultimediaTest |
Definition at line 14 of file audiogenerationutils.cpp.
| QByteArray createSineWaveData | ( | const QAudioFormat & | format, |
| std::chrono::microseconds | duration, | ||
| qint32 | sampleIndex, | ||
| qreal | frequency, | ||
| qreal | volume ) |
Definition at line 45 of file audiogenerationutils.cpp.
| std::unique_ptr< QTemporaryFile > makeMonoPcm16WavFile | ( | int | sampleRate, |
| std::chrono::microseconds | duration, | ||
| qreal | frequency, | ||
| qreal | volume ) |
Definition at line 72 of file audiogenerationutils.cpp.
| QT_BEGIN_NAMESPACE unsigned char * writeSineSample | ( | unsigned char * | ptr, |
| QAudioFormat::SampleFormat | sampleFormat, | ||
| qreal | x ) |
Definition at line 22 of file audiogenerationutils.cpp.