Skip to content

Listen for signal Device.OnActivePortUpdated#2

Merged
sqp merged 1 commit intosqp:masterfrom
kovetskiy:master
Sep 7, 2018
Merged

Listen for signal Device.OnActivePortUpdated#2
sqp merged 1 commit intosqp:masterfrom
kovetskiy:master

Conversation

@kovetskiy
Copy link
Copy Markdown
Contributor

Hi.

In following patch I've added listening for signal "OnActivePortUpdated" it allows to detect when headphones injected.

Thanks for the great lib.

@sqp sqp merged commit 661db31 into sqp:master Sep 7, 2018
@sqp
Copy link
Copy Markdown
Owner

sqp commented Sep 7, 2018

Thanks for the contribution.
I tried to keep the lib simple and close to the DBus API rather than trying to abstract everything.
I hope you wasn't too surprised with the split registration interface and it's was easy to understand and implement.
Let me know if you want to add a link to your code in the usage/examples section.

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.

2 participants