add new API for retrieving port flags from backend

This commit is contained in:
Paul Davis 2018-10-17 14:10:50 -04:00
parent 319a6a52ba
commit e047b01aa2
11 changed files with 57 additions and 1 deletions

View file

@ -321,6 +321,7 @@ class CoreAudioBackend : public AudioBackend {
int set_port_name (PortHandle, const std::string&);
std::string get_port_name (PortHandle) const;
PortFlags get_port_flags (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);