nn::snd::CTR::SetOutputBufferCount Function
void SetOutputBufferCount(
s32 count
);
| Name | Description | |
|---|---|---|
| in | count | The number of buffers. |
Sets the number of buffers for the DSP final output level.
The number of buffers can only be set to either 2 or 3. Any other value is invalid. When 2, the delay to actual sound production is minimal, but there can be sound skipping when processing cannot keep up in the sound thread. When 3, there is a 5 msec delay compared to 2, but the sound skipping won't occur even when there are slight delays in processing in the sound thread.
When this function is called, the output buffer is zero-cleared. As a result, calls during sound production can result in sound skipping. Use this function in situations with no sound, such as immediately after calling the nn::snd::CTR::Initialize function.
The default buffer number value is 2.
CONFIDENTIAL