1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - GX - demos - UnitTours/DEMOLib 3 File: DEMOWave.h 4 5 Copyright 2003-2008 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Date:: 2008-09-17#$ 14 $Rev: 8556 $ 15 $Author: okubata_ryoma $ 16 17 *---------------------------------------------------------------------------*/ 18 #ifndef DEMO_WAVE_H_ 19 #define DEMO_WAVE_H_ 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 24 25 /*---------------------------------------------------------------------------* 26 Name: DEMOReadWave 27 28 Description: Loads waveform data. 29 30 Arguments: dst: Buffer to use to get the waveform data 31 filename: Name of the streaming playback file 32 33 Returns: Returns the size of the waveform data. 34 *---------------------------------------------------------------------------*/ 35 int DEMOReadWave(char* dst, const char *filename); 36 37 #ifdef __cplusplus 38 }/* extern "C" */ 39 #endif 40 41 #endif /* DEMO_WAVE_H_ */ 42