#include <nnsys/snd.h>void NNS_SndCaptureCreateThread( u32 threadPrio );
This function starts the capture thread.
Once the capture thread is started, the capture process is handled by the capture thread, rather than the IRQ handler.
When using a capture thread, the capture process may be delayed if the capture thread has a lower priority than other threads. If the capture process is not performed in time, normal playback will not be possible. Therefore, set the capture thread's priority level threadPrio as high as possible.
For example, the priority must be set higher than that of threads that take time to process, such as stream or CARD asynchronous process threads. The priority level of the stream thread can be set with NNS_SndArcStrmInit, and the priority level of the CARD asynchronous process thread can be set with CARD_SetThreadPriority.
07/22/2005 Revised notes about priority levels.
09/13/2004 Initial version.