[Summary] Changed buffer sizes retrieving

[Details] There is no need to Initialize/Deinitialize PA and each time take buffers from the device. Buffer size will be assigned on device activation and application will be notified about buffer changes when it's required. This appears to be the correct workflow with buffer size on ASIO devices.
This commit is contained in:
Greg Zharun 2015-02-10 23:16:56 +02:00
parent 37c03b4e9f
commit 88810bc7be
3 changed files with 44 additions and 18 deletions

View file

@ -57,6 +57,7 @@ struct DeviceInfo
DeviceID m_DeviceId;
std::string m_DeviceName;
std::vector<int> m_AvailableSampleRates;
std::vector<int> m_AvailableBufferSizes;
unsigned int m_MaxInputChannels;
unsigned int m_MaxOutputChannels;