correctly affect speed/reversing when shuttling audio

This commit is contained in:
itsmattkc
2020-01-07 16:41:30 +11:00
parent c938055293
commit a616aaa182
11 changed files with 433 additions and 27 deletions
+3 -1
View File
@@ -79,7 +79,7 @@ public:
*
* This takes ownership of the QIODevice and will delete it when StopOutput() is called
*/
void StartOutput(QIODevice* device);
void StartOutput(QIODevice* device, int playback_speed);
/**
* @brief Stop audio output immediately
@@ -95,6 +95,8 @@ public:
const QList<QAudioDeviceInfo>& ListInputDevices();
const QList<QAudioDeviceInfo>& ListOutputDevices();
static void ReverseBuffer(char* buffer, int size, int resolution);
signals:
void DeviceListReady();