summaryrefslogtreecommitdiff
path: root/libs/backends/alsa/alsa_audiobackend.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-17 18:22:21 +0200
committerRobin Gareus <robin@gareus.org>2016-04-17 18:22:21 +0200
commit10140a8e68c3e6d105f89c7085ce8f44118ad95c (patch)
tree4662d65521c942ebfd98139ab60c53ee9a8cac01 /libs/backends/alsa/alsa_audiobackend.h
parent1f43878050528f8d4848742af97094bd6465576f (diff)
implement pretty-name set-property for ALSA and Dummy
Diffstat (limited to 'libs/backends/alsa/alsa_audiobackend.h')
-rw-r--r--libs/backends/alsa/alsa_audiobackend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.h b/libs/backends/alsa/alsa_audiobackend.h
index 01f757928f..97db9fbcaa 100644
--- a/libs/backends/alsa/alsa_audiobackend.h
+++ b/libs/backends/alsa/alsa_audiobackend.h
@@ -266,7 +266,9 @@ class AlsaAudioBackend : public AudioBackend {
int set_port_name (PortHandle, const std::string&);
std::string get_port_name (PortHandle) const;
PortHandle get_port_by_name (const std::string&) const;
+
int get_port_property (PortHandle, const std::string& key, std::string& value, std::string& type) const;
+ int set_port_property (PortHandle, const std::string& key, const std::string& value, const std::string& type);
int get_ports (const std::string& port_name_pattern, DataType type, PortFlags flags, std::vector<std::string>&) const;