forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pulseaudio] Small bugfixes and rewrite (openhab#12581)
* [pulseaudio] small fixes and rewrite - All classes are now @NonNullByDefault - all build warnings cleared - no more need for a watchdog scheduled thread for every pulseaudio device : the bridge now handles sending information to child - fix bug : exception at startup when child handler try to get information from the bridge too soon is now handled by waiting 2 seconds if necessary - fix bug : playing MP3 with high bitrate is now OK with the replacement of the ResetableInputStream by a standard BufferedInputStream that handle mark/reset method better - fix bug : ghost device listener no longer receive event after dispose - fix bug : discovery doesn't show already added thing anymore - Updating the status bridge to ONLINE only AFTER the update method is done. - Use the bridgeStatusChanged method in the childhandler to get opportunity to test if the child could go ONLINE, (and by the way initialize the audiosink and audiosource, has they also need information from the bridge) Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com> Co-authored-by: Laurent Garnier <lg.hc@free.fr>
- Loading branch information
Showing
19 changed files
with
344 additions
and
449 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.