Searched refs:SOUND_SIZE (Results 1 – 1 of 1) sorted by relevance
45 const u32 SOUND_SIZE = reinterpret_cast<u32>(SOUND_END) - reinterpret_cast<u32>(SOUND_BEGIN); in SoundThreadFuncImpl() local46 m_SoundBuffer = reinterpret_cast<s16*>(mp_AppHeap->Allocate(SOUND_SIZE, 32)); in SoundThreadFuncImpl()47 memcpy(m_SoundBuffer, SOUND_BEGIN, SOUND_SIZE); in SoundThreadFuncImpl()48 nn::snd::FlushDataCache(reinterpret_cast<uptr>(m_SoundBuffer), SOUND_SIZE); in SoundThreadFuncImpl()51 …m_WaveBuffer.sampleLength = nn::snd::GetSampleLength(SOUND_SIZE, nn::snd::SAMPLE_FORMAT_PCM16, 2); in SoundThreadFuncImpl()