Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/port/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ GameEngine::GameEngine() {
// auto wnd = std::make_shared<Fast::Fast3dWindow>(std::vector<std::shared_ptr<Ship::GuiWindow>>({}));
// auto wnd = std::dynamic_pointer_cast<Fast::Fast3dWindow>(Ship::Context::GetInstance()->GetWindow());

this->context->Init({assets_path}, {}, 3, { 26800, 512, 1100 }, wnd, controlDeck);
this->context->Init({assets_path}, {}, 3, { 26800, 2048, SAMPLES_LOW }, wnd, controlDeck);

#ifndef __SWITCH__
Ship::Context::GetInstance()->GetLogger()->set_level(
Expand Down
6 changes: 3 additions & 3 deletions src/port/Engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ static const char engine_asset_file[] = "spaghetti.o2r";
#define IDNO 7
#endif

#define SAMPLES_HIGH 448
#define SAMPLES_LOW 432
#define AUDIO_FRAMES_PER_UPDATE 2
#define SAMPLES_HIGH 464
#define SAMPLES_LOW 448
#define AUDIO_FRAMES_PER_UPDATE 3
#define NUM_AUDIO_CHANNELS 2
#define SAMPLES_PER_FRAME (SAMPLES_HIGH * NUM_AUDIO_CHANNELS * 2)

Expand Down
Loading