Fix formatting

This commit is contained in:
Correl Roush 2020-09-04 21:43:46 -04:00
parent 4125544c97
commit 329270bd7d
2 changed files with 5 additions and 2 deletions

View file

@ -64,10 +64,11 @@ class Listener(Process):
"Sampler error (length={}, bytes={})".format(length, len(data))
)
class Player(Process):
def __init__(
self,
pcm_in: "Queue[PCM]",
pcm_in: "Queue[PCM]",
device: str,
sample_length: int = 30,
framerate: int = 44100,

View file

@ -116,7 +116,9 @@ def main():
clock = pygame.time.Clock()
while True:
for event in pygame.event.get():
if event.type == QUIT or (event.type == KEYDOWN and event.key == K_ESCAPE):
if event.type == QUIT or (
event.type == KEYDOWN and event.key == K_ESCAPE
):
app.shutdown()
pygame.quit()
return