nn::snd::CTR::GetHeadphoneStatus Function

Syntax

bool GetHeadphoneStatus();

Arguments

None.

Return Values

Returns true if inserted.

Description

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.

Revision History

2010/08/18
Changed specifications.
2010/06/14
Initial version.

CONFIDENTIAL