# NNS_SndAllocAlarm

## Syntax

      #include <nnsys/snd.h>

      int NNS_SndAllocAlarm( void );

## Arguments

None.

## Return Values

Returns the alarm number if the sound alarm was successfully obtained. Returns -1 if failed.

## Description

Gets the sound alarm. Processing is not performed inside the library on this obtained sound alarm.

Call the `NNS_SndFreeAlarm` function to free the obtained sound alarm.

### Note

The sound alarm is a callback object used to synchronize the channel and capture when processing. For details, see the sound driver manual.

## See Also

NNS_SndFreeAlarm

## Revision History

2004/10/25 Initial version.

CONFIDENTIAL