Skip to content

Commit

Permalink
Fix typos discovered by codespell (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Nov 3, 2024
1 parent 2417994 commit 6c0eb6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 6c0eb6f

Please sign in to comment.