mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 03:30:13 +01:00
Add doc strings
This commit is contained in:
@@ -111,6 +111,7 @@ except OSError as e:
|
||||
raise
|
||||
|
||||
class AudioEngine:
|
||||
"""Initialize an audio engine for playing sounds and music."""
|
||||
def __init__(self, device_type: int, sample_rate: float, buffer_size: int, volume_presets: dict[str, float]):
|
||||
self.device_type = device_type
|
||||
if sample_rate == -1:
|
||||
|
||||
Reference in New Issue
Block a user