/*---------------------------------------------------------------------------* Project: NintendoWare File: snd_StreamTrack.cpp Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. 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. $Revision: $ *---------------------------------------------------------------------------*/ #include "precompiled.h" #include namespace nw { namespace snd { namespace internal { namespace driver { #ifdef NW_PLATFORM_CTR void StreamChannel::AppendWaveBuffer( nn::snd::WaveBuffer* pBuffer, bool lastFlag ) { NW_NULL_ASSERT( pBuffer ); if ( m_pVoice != NULL ) { // バッファ追加は、nn::snd::Voice があればできる m_pVoice->AppendWaveBuffer( 0, // channelIndex はつねに 0 番目 pBuffer, lastFlag ); } } #endif // NW_PLATFORM_CTR } // namespace nw::snd::internal::driver } // namespace nw::snd::internal } // namespace nw::snd } // namespace nw