Home
last modified time | relevance | path

Searched refs:pLibConfig (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libmedia/
DJetPlayer.cpp28 static const S_EAS_LIB_CONFIG* pLibConfig = NULL; variable
65 if (pLibConfig == NULL) in init()
66 pLibConfig = EAS_Config(); in init()
67 if (pLibConfig == NULL) { in init()
90 pLibConfig->sampleRate, in init()
92 audio_channel_out_mask_from_count(pLibConfig->numChannels), in init()
166 new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * MIX_NUM_BUFFERS]; in render()
203 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); in render()
207 p += count * pLibConfig->numChannels; in render()
208 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM); in render()
/frameworks/av/media/libmediaplayerservice/
DMidiFile.cpp53 static const S_EAS_LIB_CONFIG* pLibConfig = NULL; variable
69 if (pLibConfig == NULL) in MidiFile()
70 pLibConfig = EAS_Config(); in MidiFile()
71 if ((pLibConfig == NULL) || (LIB_VERSION != pLibConfig->libVersion)) { in MidiFile()
432 if (mAudioSink->open(pLibConfig->sampleRate, pLibConfig->numChannels, in createOutputTrack()
449 mAudioBuffer = new EAS_PCM[pLibConfig->mixBufferSize * pLibConfig->numChannels * NUM_BUFFERS]; in render()
483 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); in render()
487 p += count * pLibConfig->numChannels; in render()
488 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM); in render()
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp63 const S_EAS_LIB_CONFIG* pLibConfig = EAS_Config(); in HandleMIDI() local
64 if ((pLibConfig == NULL) || (LIB_VERSION != pLibConfig->libVersion)) { in HandleMIDI()