You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With ASIO the driver will report a preferred buffer size, and I'm guessing this is what gets used when the default buffer size is chosen. It'd be nice to know what this value is before starting a stream.
Alternatively, one can use BufferSize::Fixed, but would need a way to query what that preferred buffer size is for some Host and Device.
Something like:
enumPreferredBufferSize{/// Device doesn't provide this informationUnknown,/// Device can provide this informationFixed(usize),}let preferred_input_size = device.preferred_input_buffer_size();
The text was updated successfully, but these errors were encountered:
Small correction: it seems like the "default" buffer size is just whatever buffer size the device is already set to. This may be device/driver specific behaviour.
What I'm looking for is the buffer size the device reports as optimal, where the driver doesn't have to split/combine blocks (i.e. usually the same as the device's internal buffer size).
With ASIO the driver will report a preferred buffer size, and I'm guessing this is what gets used when the default buffer size is chosen. It'd be nice to know what this value is before starting a stream.
Alternatively, one can use
BufferSize::Fixed
, but would need a way to query what that preferred buffer size is for someHost
andDevice
.Something like:
The text was updated successfully, but these errors were encountered: