fixxed buffer

This commit is contained in:
2026-02-16 21:53:09 +01:00
parent 96f37ab27d
commit db655c381d
3 changed files with 21 additions and 4 deletions
+7
View File
@@ -13,5 +13,12 @@ class Config:
LOG_DIR = os.path.join(BASE_DIR, 'logs')
SOUNDS_DIR = os.path.join(BASE_DIR, 'sounds')
# Audio-Parameter (für pygame.mixer)
AUDIO_FREQ = 44100
AUDIO_SIZE = -16
AUDIO_CHANNELS = 2
AUDIO_BUFFER = 2048 # größerer Buffer reduziert Knacksen
AUDIO_NUM_CHANNELS = 16
# Optional: absolute Pfade, falls du später Docker o.ä. nutzt
# CONFIG_DIR = os.path.join(os.path.dirname(__file__), 'configs')