diff options
Diffstat (limited to 'firmware/export/pcm_mixer.h')
-rw-r--r-- | firmware/export/pcm_mixer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/pcm_mixer.h b/firmware/export/pcm_mixer.h index f7f869eaaf..b418a5d347 100644 --- a/firmware/export/pcm_mixer.h +++ b/firmware/export/pcm_mixer.h | |||
@@ -30,13 +30,15 @@ | |||
30 | #if CONFIG_CPU == PP5002 | 30 | #if CONFIG_CPU == PP5002 |
31 | /* There's far less time to do mixing because HW FIFOs are short */ | 31 | /* There's far less time to do mixing because HW FIFOs are short */ |
32 | #define MIX_FRAME_SAMPLES 64 | 32 | #define MIX_FRAME_SAMPLES 64 |
33 | #elif (CONFIG_PLATFORM & PLATFORM_MAEMO5) | 33 | #elif (CONFIG_PLATFORM & PLATFORM_MAEMO5) || defined(DX50) || defined(DX90) |
34 | /* Maemo 5 needs 2048 samples for decent performance. | 34 | /* Maemo 5 needs 2048 samples for decent performance. |
35 | Otherwise the locking overhead inside gstreamer costs too much */ | 35 | Otherwise the locking overhead inside gstreamer costs too much */ |
36 | /* iBasso Devices: Match Rockbox PCM buffer size to ALSA PCM buffer size | ||
37 | to minimize memory transfers. */ | ||
36 | #define MIX_FRAME_SAMPLES 2048 | 38 | #define MIX_FRAME_SAMPLES 2048 |
39 | #else | ||
37 | /* Assume HW DMA engine is available or sufficient latency exists in the | 40 | /* Assume HW DMA engine is available or sufficient latency exists in the |
38 | PCM pathway */ | 41 | PCM pathway */ |
39 | #else | ||
40 | #define MIX_FRAME_SAMPLES 256 | 42 | #define MIX_FRAME_SAMPLES 256 |
41 | #endif | 43 | #endif |
42 | 44 | ||