Lines Matching refs:result

35 void ExitOnErrorFunc( SLresult result , int line)
37 if (SL_RESULT_SUCCESS != result) {
38 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
49 SLresult result;
73 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
74 ExitOnError(result);
86 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
87 ExitOnError(result);
90 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
91 ExitOnError(result);
122 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink,
124 ExitOnError(result);
127 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result);
131 result = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf);
132 ExitOnError(result);
134 result = (*player)->GetInterface(player, SL_IID_PREFETCHSTATUS, (void*)&prefetchItf);
135 ExitOnError(result);
137 result = (*player)->GetInterface(player, SL_IID_MUTESOLO, (void*)&muteSoloItf);
138 ExitOnError(result);
147 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED );
148 ExitOnError(result);
161 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING );
162 ExitOnError(result);
167 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PAUSED );
168 ExitOnError(result);
173 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING );
174 ExitOnError(result);
179 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
180 ExitOnError(result);
184 result = (*playItf)->SetPlayState( playItf, SL_PLAYSTATE_PLAYING );
185 ExitOnError(result);
190 result = (*playItf)->SetPlayState(playItf, SL_PLAYSTATE_STOPPED);
191 ExitOnError(result);
203 SLresult result;
223 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
224 ExitOnError(result);
227 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
228 ExitOnError(result);