cpal icon indicating copy to clipboard operation
cpal copied to clipboard

[Feature proposal] Get channel names of a device for certain platforms

Open nico-franco-gomez opened this issue 1 year ago • 1 comments

Some hosts such as CoreAudio or ASIO support having string names for each input/output channel of a device (besides their index). So far, I have not seen this functionality implemented in CPAL, but it would be very useful for a project where users can select input or output channels based on their names rather than the index. Is this a feature that would be worth implementing? Is there maybe a reason why this hasn't been done yet?

nico-franco-gomez avatar Apr 30 '24 14:04 nico-franco-gomez

Hello! I went ahead and wrote some code for a project where the channel names are provided for the aforementioned hosts. Would it be of interest here, even though it may not be available to all platforms? If so, I could start a PR with this functionality since more people might find it useful

nico-franco-gomez avatar Aug 12 '25 21:08 nico-franco-gomez