Home | History | Annotate | Download | only in bootanimation

Lines Matching refs:result

92     SLresult result;
95 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
96 if (result != SL_RESULT_SUCCESS) {
97 ALOGE("slCreateEngine failed with result %d", result);
100 (void)result;
103 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
104 if (result != SL_RESULT_SUCCESS) {
105 ALOGE("sl engine Realize failed with result %d", result);
108 (void)result;
111 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
112 if (result != SL_RESULT_SUCCESS) {
113 ALOGE("sl engine GetInterface failed with result %d", result);
116 (void)result;
119 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL);
120 if (result != SL_RESULT_SUCCESS) {
121 ALOGE("sl engine CreateOutputMix failed with result %d", result);
124 (void)result;
127 result = (*outputMixObject)->Realize(outputMixObject, SL_BOOLEAN_FALSE);
128 if (result != SL_RESULT_SUCCESS) {
129 ALOGE("sl outputMix Realize failed with result %d", result);
132 (void)result;
139 SLresult result;
176 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &bqPlayerObject, &audioSrc, &audioSnk,
178 if (result != SL_RESULT_SUCCESS) {
179 ALOGE("sl CreateAudioPlayer failed with result %d", result);
182 (void)result;
186 result = (*bqPlayerObject)->GetInterface(bqPlayerObject,
188 if (result != SL_RESULT_SUCCESS) {
189 ALOGE("config GetInterface failed with result %d", result);
193 result = (*playerConfig)->SetConfiguration(playerConfig,
195 if (result != SL_RESULT_SUCCESS) {
196 ALOGE("SetConfiguration failed with result %d", result);
202 result = (*playerConfig)->SetConfiguration(
204 ALOGW_IF(result != SL_RESULT_SUCCESS,
205 "could not set performance mode on player, error %d", result);
206 (void)result;
209 result = (*bqPlayerObject)->Realize(bqPlayerObject, SL_BOOLEAN_FALSE);
210 if (result != SL_RESULT_SUCCESS) {
211 ALOGE("sl player Realize failed with result %d", result);
214 (void)result;
217 result = (*bqPlayerObject)->GetInterface(bqPlayerObject, SL_IID_PLAY, &bqPlayerPlay);
218 if (result != SL_RESULT_SUCCESS) {
219 ALOGE("sl player GetInterface failed with result %d", result);
222 (void)result;
225 result = (*bqPlayerObject)->GetInterface(bqPlayerObject, SL_IID_BUFFERQUEUE,
227 if (result != SL_RESULT_SUCCESS) {
228 ALOGE("sl playberBufferQueue GetInterface failed with result %d", result);
231 (void)result;
234 result = (*bqPlayerBufferQueue)->RegisterCallback(bqPlayerBufferQueue, bqPlayerCallback, NULL);
235 if (result != SL_RESULT_SUCCESS) {
236 ALOGE("sl bqPlayerBufferQueue RegisterCallback failed with result %d", result);
239 (void)result;
242 result = (*bqPlayerObject)->GetInterface(bqPlayerObject, SL_IID_VOLUME, &bqPlayerVolume);
243 if (result != SL_RESULT_SUCCESS) {
244 ALOGE("sl volume GetInterface failed with result %d", result);
247 (void)result;
348 SLresult result;
349 result = (*bqPlayerBufferQueue)->Enqueue(bqPlayerBufferQueue, nextBuffer, nextSize);
350 if (SL_RESULT_SUCCESS != result) {
363 SLresult result;
367 result = (*bqPlayerPlay)->SetPlayState(bqPlayerPlay,