Lines Matching refs:newPatch
218 Patch *newPatch = new Patch(patch); in createAudioPatch() local
266 newPatch->mPlaybackThread = (MixerThread *)thread.get(); in createAudioPatch()
284 newPatch->mPlaybackThread = (PlaybackThread *)thread.get(); in createAudioPatch()
286 newPatch->mPlaybackThread.get()); in createAudioPatch()
287 if (newPatch->mPlaybackThread == 0) { in createAudioPatch()
300 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); in createAudioPatch()
306 audio_channel_in_mask_from_count(newPatch->mPlaybackThread->channelCount()); in createAudioPatch()
311 config.format = newPatch->mPlaybackThread->format(); in createAudioPatch()
321 newPatch->mRecordThread = (RecordThread *)thread.get(); in createAudioPatch()
323 newPatch->mRecordThread.get(), config.channel_mask); in createAudioPatch()
324 if (newPatch->mRecordThread == 0) { in createAudioPatch()
328 status = createPatchConnections(newPatch, patch); in createAudioPatch()
409 newPatch->mHandle = *handle; in createAudioPatch()
410 newPatch->mHalHandle = halHandle; in createAudioPatch()
411 mPatches.add(newPatch); in createAudioPatch()
414 clearPatchConnections(newPatch); in createAudioPatch()
415 delete newPatch; in createAudioPatch()