mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
minor refactor
This commit is contained in:
parent
6df27b8992
commit
001c1b430b
5 changed files with 9 additions and 11 deletions
|
|
@ -362,7 +362,7 @@ namespace audio {
|
|||
std::shared_ptr<PCMStream> stream, bool keepSource
|
||||
) = 0;
|
||||
virtual std::unique_ptr<InputDevice> openInputDevice(
|
||||
const char* deviceName,
|
||||
const std::string& deviceName,
|
||||
uint sampleRate,
|
||||
uint channels,
|
||||
uint bitsPerSample
|
||||
|
|
@ -437,7 +437,7 @@ namespace audio {
|
|||
/// @param bitsPerSample number of bits per sample (8 or 16)
|
||||
/// @return new InputDevice instance or nullptr
|
||||
std::unique_ptr<InputDevice> open_input_device(
|
||||
const char* deviceName,
|
||||
const std::string& deviceName,
|
||||
uint sampleRate,
|
||||
uint channels,
|
||||
uint bitsPerSample
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue