13
0

CoreAudio: Remove unused API

This commit is contained in:
Robin Gareus 2023-06-28 02:24:54 +02:00
parent 9a010404d1
commit 651dcbc96e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 10 deletions

View File

@ -494,15 +494,6 @@ CoreAudioPCM::get_latency(uint32_t device_id, bool input)
return latency;
}
uint32_t
CoreAudioPCM::get_latency(bool input)
{
if (_active_device_id == 0) {
return 0;
}
return get_latency (_active_device_id, input);
}
uint32_t
CoreAudioPCM::current_buffer_size_id(AudioDeviceID id) {
UInt32 buffer_size;

View File

@ -67,7 +67,6 @@ public:
uint32_t available_channels (uint32_t device_id, bool input);
float current_sample_rate (uint32_t device_id, bool input = false);
uint32_t get_latency (uint32_t device_id, bool input);
uint32_t get_latency (bool input);
std::string cached_port_name (uint32_t portnum, bool input) const;