mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
[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:
parent
37c03b4e9f
commit
88810bc7be
3 changed files with 44 additions and 18 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue