This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
glyphs-juke/src/iAudioDevice.h

31 lines
568 B
C
Raw Normal View History

2021-08-27 04:12:26 +00:00
#pragma once
#include <string>
2021-08-28 03:13:52 +00:00
#include "iAudioEffect.h"
2021-08-27 04:12:26 +00:00
namespace gj {
class iAudioDevice {
public:
iAudioDevice(iAudioDevice&&) = default;
iAudioDevice(const iAudioDevice&) = default;
iAudioDevice& operator=(iAudioDevice&&) = default;
iAudioDevice& operator=(const iAudioDevice&) = default;
iAudioDevice() = default;
virtual ~iAudioDevice() = default;
2021-08-28 03:13:52 +00:00
virtual void AddEffect(iAudioEffect* fx) = 0;
virtual void RemoveEffect(iAudioEffect* fx) = 0;
2021-08-28 03:13:52 +00:00
virtual uint8_t ch() const = 0;
virtual uint32_t sampleRate() const = 0;
2021-08-27 04:12:26 +00:00
};
}