Fix for RPI 1 support

pull/793/head
Javier Nonis 1 month ago
parent 7f85e1fe04
commit 2a3b2ee8c2
  1. 6
      src/minidexed.cpp

@ -315,16 +315,12 @@ bool CMiniDexed::Initialize (void)
} }
// setup and start the sound device // setup and start the sound device
int Channels = 1; // 16-bit Mono int Channels = 2; // 16-bit Stereo
#ifdef ARM_ALLOW_MULTI_CORE #ifdef ARM_ALLOW_MULTI_CORE
if (m_bQuadDAC8Chan) if (m_bQuadDAC8Chan)
{ {
Channels = 8; // 16-bit 8-channel mono Channels = 8; // 16-bit 8-channel mono
} }
else
{
Channels = 2; // 16-bit Stereo
}
#endif #endif
// Need 2 x ChunkSize / Channel queue frames as the audio driver uses // Need 2 x ChunkSize / Channel queue frames as the audio driver uses
// two DMA channels each of ChunkSize and one single single frame // two DMA channels each of ChunkSize and one single single frame

Loading…
Cancel
Save