diff options
| author | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-12-02 15:40:52 -0300 |
|---|---|---|
| committer | Sonic Dreamcaster <alejandro.asenjo88@gmail.com> | 2024-12-02 15:40:52 -0300 |
| commit | 269d8f6cdeddc599d9320345d334b3aaba9207a7 (patch) | |
| tree | 2ed0e3f05fc98f22af7cd8552a313b9597f585b0 /src/port/Engine.cpp | |
| parent | b35697e28dfe9feaa2db31263ca8d61f6b0943f6 (diff) | |
cleanup
Diffstat (limited to 'src/port/Engine.cpp')
| -rw-r--r-- | src/port/Engine.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/port/Engine.cpp b/src/port/Engine.cpp index 19597759..57ca68ff 100644 --- a/src/port/Engine.cpp +++ b/src/port/Engine.cpp @@ -203,8 +203,17 @@ void GameEngine::StartFrame() const { this->context->GetWindow()->StartFrame(); } +#if 1 +// Values for 44100 hz #define SAMPLES_HIGH 752 #define SAMPLES_LOW 720 +#else +// Values for 32000 hz +#define SAMPLES_HIGH 560 +#define SAMPLES_LOW 544 + +#endif + #define NUM_AUDIO_CHANNELS 2 extern "C" u16 audBuffer = 0; |
