Lines Matching refs:pMem
38 AudioEqualizer * AudioEqualizer::CreateInstance(void * pMem, int nBands, in CreateInstance() argument
44 pMem, nBands, nChannels, sampleRate, nPresets); in CreateInstance()
47 if (pMem == NULL) { in CreateInstance()
48 pMem = malloc(GetInstanceSize(nBands)); in CreateInstance()
49 if (pMem == NULL) { in CreateInstance()
54 return new (pMem) AudioEqualizer(pMem, nBands, nChannels, sampleRate, in CreateInstance()
287 AudioEqualizer::AudioEqualizer(void * pMem, int nBands, int nChannels, in AudioEqualizer() argument
293 assert(pMem != NULL); in AudioEqualizer()
295 mpMem = ownMem ? pMem : NULL; in AudioEqualizer()
297 pMem = (char *) pMem + sizeof(AudioEqualizer); in AudioEqualizer()
298 mpLowShelf = new (pMem) AudioShelvingFilter(AudioShelvingFilter::kLowShelf, in AudioEqualizer()
300 pMem = (char *) pMem + sizeof(AudioShelvingFilter); in AudioEqualizer()
301 mpHighShelf = new (pMem) AudioShelvingFilter(AudioShelvingFilter::kHighShelf, in AudioEqualizer()
303 pMem = (char *) pMem + sizeof(AudioShelvingFilter); in AudioEqualizer()
306 mpPeakingFilters = reinterpret_cast<AudioPeakingFilter *>(pMem); in AudioEqualizer()