mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
add device select to audio settings
This commit is contained in:
parent
25808d2b21
commit
88e61125d1
9 changed files with 91 additions and 10 deletions
|
|
@ -104,6 +104,7 @@ namespace audio {
|
|||
uint getChannels() const override;
|
||||
uint getSampleRate() const override;
|
||||
uint getBitsPerSample() const override;
|
||||
const std::string& getDeviceSpecifier() const override;
|
||||
|
||||
size_t read(char* buffer, size_t bufferSize) override;
|
||||
private:
|
||||
|
|
@ -112,6 +113,7 @@ namespace audio {
|
|||
uint channels;
|
||||
uint bitsPerSample;
|
||||
uint sampleRate;
|
||||
std::string deviceSpecifier;
|
||||
};
|
||||
|
||||
/// @brief AL source adapter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue