Files
Aerofoil/GpCommon/IGpAudioDriver.h

21 lines
428 B
C
Raw Permalink Normal View History

#pragma once
2020-01-05 02:33:03 -05:00
#include <stdint.h>
struct IGpAudioChannel;
struct IGpPrefsHandler;
struct IGpAudioBuffer;
2019-12-21 18:40:17 -05:00
struct IGpAudioDriver
{
public:
virtual IGpAudioBuffer *CreateBuffer(const void *buffer, size_t bufferSize) = 0;
2019-12-21 18:40:17 -05:00
virtual IGpAudioChannel *CreateChannel() = 0;
2020-01-05 02:33:03 -05:00
virtual void SetMasterVolume(uint32_t vol, uint32_t maxVolume) = 0;
2019-12-21 18:40:17 -05:00
virtual void Shutdown() = 0;
virtual IGpPrefsHandler *GetPrefsHandler() const = 0;
2019-12-21 18:40:17 -05:00
};