Lines Matching refs:sound
708 Sound* sound = manager->Alloc( priority, ambientPriority ); in AllocSound() local
709 if ( sound == NULL ) return NULL; in AllocSound()
712 sound->SetId( soundId ); in AllocSound()
717 sound->SetAmbientInfo( *ambientArgInfo ); in AllocSound()
720 return sound; in AllocSound()
864 internal::BasicSound* sound = NULL; in detail_SetupSoundImpl() local
890 sound = seqSound; in detail_SetupSoundImpl()
912 sound = strmSound; in detail_SetupSoundImpl()
934 sound = waveSound; in detail_SetupSoundImpl()
946 if ( ! player.detail_AppendSound( sound ) ) in detail_SetupSoundImpl()
948 sound->Finalize(); in detail_SetupSoundImpl()
955 sound->SetFrontBypass( soundInfo.isFrontBypass ); in detail_SetupSoundImpl()
1069 sound->Finalize(); in detail_SetupSoundImpl()
1078 if ( ! extPlayer->AppendSound( sound ) ) in detail_SetupSoundImpl()
1080 sound->Finalize(); in detail_SetupSoundImpl()
1088 sound->AttachSoundActor( actor ); in detail_SetupSoundImpl()
1094 sound->SetPlayerPriority( playerPriority ); in detail_SetupSoundImpl()
1098 handle->detail_AttachSound( sound ); in detail_SetupSoundImpl()
1118 internal::SequenceSound* sound, in PrepareSequenceSoundImpl() argument
1160 internal::PlayerHeap* pPlayerHeap = sound->GetPlayerHeap(); in PrepareSequenceSoundImpl()
1174 loadSeq.itemId = sound->GetId(); in PrepareSequenceSoundImpl()
1253 sound->Setup( in PrepareSequenceSoundImpl()
1258 UpdateCommonSoundParam( sound, commonInfo ); in PrepareSequenceSoundImpl()
1260 sound->SetChannelPriority( info->channelPriority ); in PrepareSequenceSoundImpl()
1261 sound->SetReleasePriorityFix( info->isReleasePriorityFix ); in PrepareSequenceSoundImpl()
1262 sound->SetSequenceUserprocCallback( in PrepareSequenceSoundImpl()
1302 bool result = sound->RegisterDataLoadTask( loadInfo, startInfo ); in PrepareSequenceSoundImpl()
1314 sound->Prepare( seqFileReader.GetSequenceData(), startInfo ); in PrepareSequenceSoundImpl()
1317 sound->SetBankData( loadBanks ); in PrepareSequenceSoundImpl()
1338 internal::StreamSound* sound, in PrepareStreamSoundImpl() argument
1347 internal::driver::StreamSoundPlayer::SetupResult setupResult = sound->Initialize( in PrepareStreamSoundImpl()
1364 sound->GetId() in PrepareStreamSoundImpl()
1372 if ( sound == lowest ) in PrepareStreamSoundImpl()
1378 sound->GetId() in PrepareStreamSoundImpl()
1392 setupResult = sound->Initialize( in PrepareStreamSoundImpl()
1408 sound->Setup( in PrepareStreamSoundImpl()
1435 void* fileStreamBuffer = sound->GetFileStreamBuffer(); in PrepareStreamSoundImpl()
1437 long fileStreamBufferSize = sound->GetFileStreamBufferSize(); in PrepareStreamSoundImpl()
1450 sound->Prepare( in PrepareStreamSoundImpl()
1457 UpdateCommonSoundParam( sound, commonInfo ); in PrepareStreamSoundImpl()
1478 internal::WaveSound* sound, in PrepareWaveSoundImpl() argument
1487 internal::PlayerHeap* pPlayerHeap = sound->GetPlayerHeap(); in PrepareWaveSoundImpl()
1494 loadWsd.itemId = sound->GetId(); in PrepareWaveSoundImpl()
1563 bool result = sound->RegisterDataLoadTask( loadInfo, startInfo ); in PrepareWaveSoundImpl()
1568 sound->Prepare( wsdFile, startInfo ); in PrepareWaveSoundImpl()
1572 UpdateCommonSoundParam( sound, commonInfo ); in PrepareWaveSoundImpl()
1573 sound->SetChannelPriority( info->channelPriority ); in PrepareWaveSoundImpl()
1574 sound->SetReleasePriorityFix( info->isReleasePriorityFix ); in PrepareWaveSoundImpl()
1592 internal::BasicSound* sound, in UpdateCommonSoundParam() argument
1596 NW_NULL_ASSERT(sound); in UpdateCommonSoundParam()
1599 sound->SetInitialVolume( static_cast<float>( commonInfo->volume ) / 127.0f ); in UpdateCommonSoundParam()
1600 sound->SetPanMode( commonInfo->panMode ); in UpdateCommonSoundParam()
1601 sound->SetPanCurve( commonInfo->panCurve ); in UpdateCommonSoundParam()