summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-11 01:58:56 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-11 01:58:56 +0200
commit0d58df4dfd13b715280ce64ac1b3c6e556c80d44 (patch)
treef055f83dcc94eaae62b7a584632dac6b2269b162
parentf145574466ca52e754c4febf1d79fb6d202d42d2 (diff)
Rename AudioBackend::output_device_names() to device_names().
-rw-r--r--src/wx/audio_backend.cc2
-rw-r--r--src/wx/audio_backend.h2
-rw-r--r--src/wx/config_dialog.cc2
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));
}