SPGetSoundEntry

Syntax

#include <cafe/sp.h>

SPSoundEntry * SPGetSoundEntry(SPSoundTable *table, u32 index);

Parameters

table Pointer to an array of SPSoundTable structures. Each SPSoundTable entry corresponds to a sound effect that has been packed into an SPD file.
index A sound effect ID that has been enumerated in a Sound Pipeline header file generated by sndconv.

Return Values

Returns a pointer to an SP sound table entry. Returns NULL if index is not within the valid range of entries.

Description

For the given sound table instance and sound effect index, SPGetSoundEntry returns a pointer to the corresponding SP sound table entry.

Do Not Call From

None.

Revision History

2013-05-08 Automated cleanup pass.
2011-02-21 Initial version.


CONFIDENTIAL