diff options
author | Robin Gareus <robin@gareus.org> | 2020-04-28 17:56:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-04-28 17:56:17 +0200 |
commit | 8e482ef0fbe89d3e4f6b7e8eb58d8c1fde1d3944 (patch) | |
tree | 67e33d37d9f8332ba56e2aa83aae55b401c87d16 /libs/backends/alsa | |
parent | d3d120fa281134735fc4b113d0bcd7e4e1929ea9 (diff) |
Con't work on ALSA nperiod selection (see also d3d120fa)
Diffstat (limited to 'libs/backends/alsa')
-rw-r--r-- | libs/backends/alsa/alsa_audiobackend.cc | 4 | ||||
-rw-r--r-- | libs/backends/alsa/alsa_audiobackend.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.cc b/libs/backends/alsa/alsa_audiobackend.cc index 6c931b08cb..80b0e36e6f 100644 --- a/libs/backends/alsa/alsa_audiobackend.cc +++ b/libs/backends/alsa/alsa_audiobackend.cc @@ -267,11 +267,11 @@ AlsaAudioBackend::available_output_channel_count (const std::string& device) con } std::vector<uint32_t> -AlsaAudioBackend::available_period_sizes (const std::string& driver) const +AlsaAudioBackend::available_period_sizes (const std::string& driver, const std::string& device) const { std::vector<uint32_t> ps; - ALSADeviceInfo *nfo = NULL; + ALSADeviceInfo* nfo = NULL; if (device == get_standard_device_name(DeviceNone)) { return ps; } diff --git a/libs/backends/alsa/alsa_audiobackend.h b/libs/backends/alsa/alsa_audiobackend.h index 02d61c6042..f15c7a2857 100644 --- a/libs/backends/alsa/alsa_audiobackend.h +++ b/libs/backends/alsa/alsa_audiobackend.h @@ -140,7 +140,7 @@ class AlsaAudioBackend : public AudioBackend, public PortEngineSharedImpl std::vector<float> available_sample_rates2 (const std::string&, const std::string&) const; std::vector<uint32_t> available_buffer_sizes (const std::string& device) const; std::vector<uint32_t> available_buffer_sizes2 (const std::string&, const std::string&) const; - std::vector<uint32_t> available_period_sizes (const std::string& driver) const; + std::vector<uint32_t> available_period_sizes (const std::string& driver, const std::string& device) const; uint32_t available_input_channel_count (const std::string& device) const; uint32_t available_output_channel_count (const std::string& device) const; |