Lines Matching refs:sound

696     Sound* sound = manager->Alloc( priority, ambientPriority );  in AllocSound()  local
697 if ( sound == NULL ) return NULL; in AllocSound()
700 sound->SetId( soundId ); in AllocSound()
705 sound->SetAmbientInfo( *ambientArgInfo ); in AllocSound()
708 return sound; in AllocSound()
852 internal::BasicSound* sound = NULL; in detail_SetupSoundImpl() local
878 sound = seqSound; in detail_SetupSoundImpl()
900 sound = strmSound; in detail_SetupSoundImpl()
922 sound = waveSound; in detail_SetupSoundImpl()
934 if ( ! player.detail_AppendSound( sound ) ) in detail_SetupSoundImpl()
936 sound->Finalize(); in detail_SetupSoundImpl()
943 sound->SetFrontBypass( soundInfo.isFrontBypass ); in detail_SetupSoundImpl()
1054 sound->Finalize(); in detail_SetupSoundImpl()
1063 if ( ! extPlayer->AppendSound( sound ) ) in detail_SetupSoundImpl()
1065 sound->Finalize(); in detail_SetupSoundImpl()
1073 sound->AttachSoundActor( actor ); in detail_SetupSoundImpl()
1079 sound->SetPlayerPriority( playerPriority ); in detail_SetupSoundImpl()
1083 handle->detail_AttachSound( sound ); in detail_SetupSoundImpl()
1103 internal::SequenceSound* sound, in PrepareSeqImpl() argument
1175 internal::PlayerHeap* pPlayerHeap = sound->GetPlayerHeap(); in PrepareSeqImpl()
1183 void* fileStreamBuffer = sound->GetFileStreamBuffer(); in PrepareSeqImpl()
1185 size_t fileStreamBufferSize = sound->GetFileStreamBufferSize(); in PrepareSeqImpl()
1256 sound->Initialize( in PrepareSeqImpl()
1277 sound->GetId() in PrepareSeqImpl()
1285 if ( sound == lowest ) in PrepareSeqImpl()
1295 sound->GetId() in PrepareSeqImpl()
1309 result = sound->Initialize( in PrepareSeqImpl()
1326 sound->Setup( in PrepareSeqImpl()
1336 UpdateCommonSoundParam( sound, commonInfo ); in PrepareSeqImpl()
1337 sound->SetChannelPriority( info->channelPriority ); in PrepareSeqImpl()
1338 sound->SetReleasePriorityFix( info->isReleasePriorityFix ); in PrepareSeqImpl()
1339 sound->SetSequenceUserprocCallback( in PrepareSeqImpl()
1365 sound->Prepare( in PrepareSeqImpl()
1375 sound->Prepare( in PrepareSeqImpl()
1401 internal::StreamSound* sound, in PrepareStreamImpl() argument
1410 internal::driver::StreamSoundPlayer::SetupResult setupResult = sound->Initialize( in PrepareStreamImpl()
1427 sound->GetId() in PrepareStreamImpl()
1435 if ( sound == lowest ) in PrepareStreamImpl()
1441 sound->GetId() in PrepareStreamImpl()
1455 setupResult = sound->Initialize( in PrepareStreamImpl()
1471 sound->Setup( in PrepareStreamImpl()
1498 void* fileStreamBuffer = sound->GetFileStreamBuffer(); in PrepareStreamImpl()
1500 long fileStreamBufferSize = sound->GetFileStreamBufferSize(); in PrepareStreamImpl()
1513 sound->Prepare( in PrepareStreamImpl()
1520 UpdateCommonSoundParam( sound, commonInfo ); in PrepareStreamImpl()
1541 internal::WaveSound* sound, in PrepareWaveSoundImpl() argument
1580 sound->Prepare( in PrepareWaveSoundImpl()
1590 UpdateCommonSoundParam( sound, commonInfo ); in PrepareWaveSoundImpl()
1591 sound->SetChannelPriority( info->channelPriority ); in PrepareWaveSoundImpl()
1592 sound->SetReleasePriorityFix( info->isReleasePriorityFix ); in PrepareWaveSoundImpl()
1610 internal::BasicSound* sound, in UpdateCommonSoundParam() argument
1614 NW_NULL_ASSERT(sound); in UpdateCommonSoundParam()
1617 sound->SetInitialVolume( static_cast<float>( commonInfo->volume ) / 127.0f ); in UpdateCommonSoundParam()
1618 sound->SetPanMode( commonInfo->panMode ); in UpdateCommonSoundParam()
1619 sound->SetPanCurve( commonInfo->panCurve ); in UpdateCommonSoundParam()