diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-25 15:58:54 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-25 15:58:54 +1000 |
| commit | 485e9adfce01b9b4e21dae927fb3b7ed3d5fc83d (patch) | |
| tree | b6382f69a829bdc4214d41182cbb401a0c2d69b9 /src/audio/audio_converter.cpp | |
| parent | 795f26873742eaad7ce53084052d988a0fd542f8 (diff) | |
| download | tangara-fw-485e9adfce01b9b4e21dae927fb3b7ed3d5fc83d.tar.gz | |
Performance tweaks for smoother tunes
- Pin the decoder task to APP_CORE to reduce context switches
- Increase sample buffer sizes
Diffstat (limited to 'src/audio/audio_converter.cpp')
| -rw-r--r-- | src/audio/audio_converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/audio_converter.cpp b/src/audio/audio_converter.cpp index c540d821..60d83648 100644 --- a/src/audio/audio_converter.cpp +++ b/src/audio/audio_converter.cpp @@ -24,7 +24,7 @@ static constexpr char kTag[] = "mixer"; static constexpr std::size_t kSourceBufferLength = 8 * 1024; -static constexpr std::size_t kSampleBufferLength = 240 * 2; +static constexpr std::size_t kSampleBufferLength = 240 * 2 * 4; namespace audio { |
