Lines Matching refs:command2

864         sp<AudioCommand> command2 = mAudioCommands[i];  in insertCommand_l()  local
866 if (command2->mTime <= command->mTime) break; in insertCommand_l()
872 if ((command2->mCommand != CREATE_AUDIO_PATCH) && in insertCommand_l()
873 (command2->mCommand != RELEASE_AUDIO_PATCH)) { in insertCommand_l()
876 } else if (command2->mCommand != command->mCommand) continue; in insertCommand_l()
881 ParametersData *data2 = (ParametersData *)command2->mParam.get(); in insertCommand_l()
905 removedCommands.add(command2); in insertCommand_l()
909 command->mTime = command2->mTime; in insertCommand_l()
917 VolumeData *data2 = (VolumeData *)command2->mParam.get(); in insertCommand_l()
922 removedCommands.add(command2); in insertCommand_l()
923 command->mTime = command2->mTime; in insertCommand_l()
931 VoiceVolumeData *data2 = (VoiceVolumeData *)command2->mParam.get(); in insertCommand_l()
934 removedCommands.add(command2); in insertCommand_l()
935 command->mTime = command2->mTime; in insertCommand_l()
953 if (command2->mCommand == CREATE_AUDIO_PATCH) { in insertCommand_l()
954 handle2 = ((CreateAudioPatchData *)command2->mParam.get())->mHandle; in insertCommand_l()
955 patch2 = ((CreateAudioPatchData *)command2->mParam.get())->mPatch; in insertCommand_l()
957 handle2 = ((ReleaseAudioPatchData *)command2->mParam.get())->mHandle; in insertCommand_l()
964 (command2->mCommand == CREATE_AUDIO_PATCH) ) { in insertCommand_l()
979 removedCommands.add(command2); in insertCommand_l()
980 command->mTime = command2->mTime; in insertCommand_l()