diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-11 02:07:56 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-11 02:07:56 +0200 |
| commit | 8954755eb420c7ac4aaef658bf838bf91f04c887 (patch) | |
| tree | 2fcfba202ee989c15506756219c535a8bcbb0764 | |
| parent | 73747a031e35ab8884aa16ebd3c8721dfb0391bc (diff) | |
Cleanup: rename AudioBackend::output_device_names() to device_names().
| -rw-r--r-- | src/wx/audio_backend.cc | 2 | ||||
| -rw-r--r-- | src/wx/audio_backend.h | 2 | ||||
| -rw-r--r-- | src/wx/config_dialog.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/audio_backend.cc b/src/wx/audio_backend.cc index 68bc06004..fbbe17bfe 100644 --- a/src/wx/audio_backend.cc +++ b/src/wx/audio_backend.cc @@ -85,7 +85,7 @@ AudioBackend::instance() vector<string> -AudioBackend::output_device_names() +AudioBackend::device_names() { vector<string> names; diff --git a/src/wx/audio_backend.h b/src/wx/audio_backend.h index faca6eb0a..e76c7a3df 100644 --- a/src/wx/audio_backend.h +++ b/src/wx/audio_backend.h @@ -40,7 +40,7 @@ public: return _rtaudio; } - std::vector<std::string> output_device_names(); + std::vector<std::string> device_names(); boost::optional<std::string> default_device_name(); boost::optional<int> device_output_channels(std::string name); diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc index bd8582ea6..09e741ac0 100644 --- a/src/wx/config_dialog.cc +++ b/src/wx/config_dialog.cc @@ -883,7 +883,7 @@ SoundPage::setup () font.SetPointSize (font.GetPointSize() - 1); _sound_output_details->SetFont (font); - for (auto name: AudioBackend::instance()->output_device_names()) { + for (auto name: AudioBackend::instance()->device_names()) { _sound_output->Append(std_to_wx(name)); } |
