Mesen/Core/IAudioDevice.h

16 lines
365 B
C
Raw Normal View History

#pragma once
#include "stdafx.h"
class IAudioDevice
{
public:
2016-12-11 15:56:23 +00:00
virtual ~IAudioDevice() {}
virtual void PlayBuffer(int16_t *soundBuffer, uint32_t bufferSize, uint32_t sampleRate, bool isStereo) = 0;
virtual void Stop() = 0;
virtual void Pause() = 0;
2016-12-11 15:56:23 +00:00
virtual string GetAvailableDevices() = 0;
virtual void SetAudioDevice(string deviceName) = 0;
};