nn::snd::CTR::GetHeadphoneStatus Functionbool GetHeadphoneStatus();
None.
true if inserted. Gets whether headphones are plugged in.
This function returns a state that is automatically obtained at regular intervals by the nn::snd::CTR::SendParameterToDsp function from the sound thread while sound is in use; it may be up to 32 sound frames old. Use the nn::snd::CTR::UpdateHeadphoneStatus function when you have strict real-time constraints.
CONFIDENTIAL