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

Resolve devices by name only: #31 #32

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SuperFluffy
Copy link

This patch addresses issue #31 :

ponymix now resolves devices using only the name of the devices specified. The --source and --sink keywords are silently ignored. On the other hand, if no device is explicitly requested, the keywords will result in the name of the respective default device being queried. Actions are then taken based on the resulting name only.

Note: targetting the monitor of a device by supplying it with the complement keyword is no longer possible. For example:

% ponymix --source -d alsa_output.pci-0000_00_1b.0.analog-stereo

This used to target the source of the output device, which in this case has the full name alsa_output.pci-0000_00_1b.0.analog-stereo.monitor. Maybe we could introduce a --monitor flag?

@SuperFluffy
Copy link
Author

Removed the function and cleaned up my code some.

@falconindy
Copy link
Owner

Looks good. Could you rebase and squash into a single commit?

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