Here, each line has interface name (audiosrc and others), and then lists protocols supported by this interface.
Steps:
add two new methods to ProtocolMap: get_supported_interfaces(core::Array<Interface>&) (returns list of all interfaces for which there is at least one protocol) and get_supported_protocols(Interface, core::StringList&) (returns list of all protocols for given interface), similar to what we have in BackendDispatcher for supported schemes and formats
add new function address::print_supported(const ProtocolMap&) (prints list of interfaces and protocols as described above), similar to sndio::print_supported
update roc-recv and roc-send to invoke address::print_supported() after sndio::print_supported()
update help message in .ggo files and manual pages
Hi, after reading over the issue and relevant links to code, I've decided this would be a good first contribution for me. If its still available can you assign me this task? Thank you.
roc-recv and roc-send tools have option to print list of supported audio backends and formats:
We need to teach them to include information about supported protocols as well, something like this:
Here, each line has interface name (
audiosrc
and others), and then lists protocols supported by this interface.Steps:
add two new methods to ProtocolMap:
get_supported_interfaces(core::Array<Interface>&)
(returns list of all interfaces for which there is at least one protocol) andget_supported_protocols(Interface, core::StringList&)
(returns list of all protocols for given interface), similar to what we have in BackendDispatcher for supported schemes and formatsadd new function
address::print_supported(const ProtocolMap&)
(prints list of interfaces and protocols as described above), similar to sndio::print_supportedupdate roc-recv and roc-send to invoke
address::print_supported()
aftersndio::print_supported()
update help message in
.ggo
files and manual pages