Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/play_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def print_error(*args):


def xrun(delay):
print_error("An xrun occured, increase JACK's period size?")
print_error("An xrun occurred, increase JACK's period size?")


def shutdown(status, reason):
Expand Down Expand Up @@ -109,7 +109,7 @@ def process(frames):
except KeyboardInterrupt:
parser.exit('\nInterrupted by user')
except (queue.Full):
# A timeout occured, i.e. there was an error in the callback
# A timeout occurred, i.e. there was an error in the callback
parser.exit(1)
except Exception as e:
parser.exit(type(e).__name__ + ': ' + str(e))
4 changes: 2 additions & 2 deletions src/jack.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def set_shutdown_callback(self, callback):

After server shutdown, the client is *not* deallocated by
JACK, the user (that's you!) is responsible to properly
use `close()` to release client ressources.
use `close()` to release client resources.
Alternatively, the `Client` object can be used as a
*context manager* in a *with statement*, which takes care
of activating, deactivating and closing the client
Expand Down Expand Up @@ -1256,7 +1256,7 @@ def set_xrun_callback(self, callback):
----------
callback : callable
User-supplied function that is called whenever an xrun has
occured. It must have this signature::
occurred. It must have this signature::

callback(delayed_usecs: float) -> None

Expand Down
Loading