/*---------------------------------------------------------------------------* Project: NintendoWare File: MemorySoundArchiveApp.h Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo and/or its licensed developers and are protected by national and international copyright laws. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. The content herein is highly confidential and should be handled accordingly. $Revision: $ *---------------------------------------------------------------------------*/ #ifndef NW_SND_DEMO_SIMPLE_APP_H_ #define NW_SND_DEMO_SIMPLE_APP_H_ #include "demolib.h" #include class MemorySoundArchiveApp : public nw::snd::demolib::AppBase { protected: virtual void OnInitialize(); virtual void OnFinalize(); virtual void OnDrawUpLCD( nw::font::TextWriter& ); virtual void OnDrawDownLCD( nw::font::TextWriter& ); virtual void OnUpdatePad( nw::demo::Pad& ); virtual void OnUpdate(); private: void InitializeSoundSystem(); nw::snd::MemorySoundArchive m_Archive; nw::snd::SoundArchivePlayer m_ArchivePlayer; nw::snd::SoundDataManager m_DataManager; nw::snd::SoundHandle m_Handle; #if 0 void* m_pMemoryForInfoBlock; void* m_pMemoryForStringBlock; #endif void* m_pMemoryForSoundSystem; void* m_pMemoryForSoundDataManager; void* m_pMemoryForSoundArchive; void* m_pMemoryForSoundArchivePlayer; void* m_pMemoryForStreamBuffer; }; #endif /* NW_SND_DEMO_SIMPLE_APP_H_ */