mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Use two private utility functions in PortaudioIO class for default SR's and buffer sizes
This commit is contained in:
parent
cc7e97f296
commit
519f97b91d
2 changed files with 38 additions and 19 deletions
|
|
@ -60,7 +60,6 @@ public:
|
|||
int available_sample_rates (int device_id, std::vector<float>& sample_rates);
|
||||
int available_buffer_sizes (int device_id, std::vector<uint32_t>& buffer_sizes);
|
||||
|
||||
bool get_default_buffer_sizes (int device_id, std::vector<uint32_t>& buffer_sizes);
|
||||
#ifdef WITH_ASIO
|
||||
bool get_asio_buffer_properties (int device_id,
|
||||
long& min_size_frames,
|
||||
|
|
@ -107,6 +106,9 @@ private: // Methods
|
|||
void add_devices ();
|
||||
std::string get_host_api_name_from_index (PaHostApiIndex index);
|
||||
|
||||
static void get_default_sample_rates(std::vector<float>&);
|
||||
static void get_default_buffer_sizes(std::vector<uint32_t>&);
|
||||
|
||||
private: // Data
|
||||
int _state;
|
||||
bool _initialized;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue