mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Make two private methods in PortAudioIO const
This commit is contained in:
parent
8e0e3fcdee
commit
41211c984c
2 changed files with 4 additions and 4 deletions
|
|
@ -407,7 +407,7 @@ PortAudioIO::get_host_api_index_from_name (const std::string& name)
|
|||
}
|
||||
|
||||
PaDeviceIndex
|
||||
PortAudioIO::get_default_input_device ()
|
||||
PortAudioIO::get_default_input_device () const
|
||||
{
|
||||
const PaHostApiInfo* info = Pa_GetHostApiInfo (_host_api_index);
|
||||
if (info == NULL) return -1;
|
||||
|
|
@ -415,7 +415,7 @@ PortAudioIO::get_default_input_device ()
|
|||
}
|
||||
|
||||
PaDeviceIndex
|
||||
PortAudioIO::get_default_output_device ()
|
||||
PortAudioIO::get_default_output_device () const
|
||||
{
|
||||
const PaHostApiInfo* info = Pa_GetHostApiInfo (_host_api_index);
|
||||
if (info == NULL) return -1;
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ public:
|
|||
PaHostApiTypeId get_current_host_api_type () const;
|
||||
PaHostApiIndex get_host_api_index_from_name (const std::string& name);
|
||||
|
||||
PaDeviceIndex get_default_input_device ();
|
||||
PaDeviceIndex get_default_output_device ();
|
||||
PaDeviceIndex get_default_input_device () const;
|
||||
PaDeviceIndex get_default_output_device () const;
|
||||
|
||||
void discover();
|
||||
void input_device_list (std::map<int, std::string> &devices) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue