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

Play silent sound to avoid standby mode #1712

Merged
merged 1 commit into from Sep 22, 2018

Conversation

Projects
None yet
2 participants
@ManfredKarrer
Member

ManfredKarrer commented Sep 21, 2018

Apple disabled options do avoid App Nap in recent OSX versions.
Playing an inaudible sound marks the application for preventing to get
set to standby mode as well as App Nap mode.
The alternative to that "hack" would be to add OSX native code, but
even then it is likely only possible to prevent App Nap but not
sleep mode.
If Bisq is in App Nap mode offers cannot be taken as well the user loses
network connection and offers.
See: #1701

Play silent sound to avoid standby mode
Apple disabled options do avoid App Nap in recent OSX versions.
Playing an inaudible sound marks the application for preventing to get
set to standby mode as well as App Nap mode.
The alternative to that "hack" would be to add OSX native code, but
even then it is likely only possible to prevent App Nap but not
sleep mode.
If Bisq is in App Nap mode offers cannot be taken as well the user loses
network connection and offers.
See: #1701

@ManfredKarrer ManfredKarrer requested review from ripcurlx and cbeams Sep 21, 2018

@ripcurlx

utACK

@ripcurlx ripcurlx merged commit 97fb1b8 into bisq-network:master Sep 22, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ManfredKarrer ManfredKarrer deleted the ManfredKarrer:PreventAppNap branch Sep 24, 2018

@ripcurlx ripcurlx referenced this pull request Sep 27, 2018

Closed

For September #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment