Lines Matching refs:result

36 void ExitOnErrorFunc( SLresult result , int line)
38 if (SL_RESULT_SUCCESS != result) {
39 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
50 SLresult result;
74 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
75 ExitOnError(result);
87 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
88 ExitOnError(result);
91 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
92 ExitOnError(result);
123 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
125 ExitOnError(result);
128 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
132 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
133 ExitOnError(result);
135 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
136 ExitOnError(result);
138 result = (*player)->GetInterface(player, SL_IID_MUTESOLO, (void*)&muteSoloItf);
139 ExitOnError(result);
148 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED );
149 ExitOnError(result);
162 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING );
163 ExitOnError(result);
168 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED );
169 ExitOnError(result);
174 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING );
175 ExitOnError(result);
180 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
181 ExitOnError(result);
185 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING );
186 ExitOnError(result);
191 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
192 ExitOnError(result);
206 SLresult result;
226 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
227 ExitOnError(result);
230 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
231 ExitOnError(result);