Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get_card_by_name like source/sink #38

Closed
wants to merge 1 commit into from
Closed

Add get_card_by_name like source/sink #38

wants to merge 1 commit into from

Conversation

pvizeli
Copy link

@pvizeli pvizeli commented Feb 27, 2020

That is usefully and allow to get an card by name without loop over the full list.

@pvizeli pvizeli closed this Feb 27, 2020
@mk-fg
Copy link
Owner

mk-fg commented Feb 27, 2020

I think you forgot to add type-info wrapper for C function to _pulsectl there, but I've added it in 3225ebd along with pulse.get_card_by_name(), same as in PR.

These names seem to be generated from hardware bus connection numbers, e.g. alsa_card.pci-0000_00_14.2 here, so probably bit hard to predict in advance, but guess easy to specify in various config files that way.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants