Lines Matching refs:result

30     SLresult result;  in main()  local
31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main()
32 assert(SL_RESULT_SUCCESS == result); in main()
35 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main()
36 assert(SL_RESULT_SUCCESS == result); in main()
39 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main()
40 assert(SL_RESULT_SUCCESS == result); in main()
43 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, SL_OBJECTID_OUTPUTMIX, in main()
45 assert(SL_RESULT_SUCCESS == result); in main()
50 result = (*engineEngine)->QuerySupportedInterfaces(engineEngine, SL_OBJECTID_OUTPUTMIX, i, in main()
52 assert(SL_RESULT_SUCCESS == result); in main()
57 result = (*engineEngine)->CreateOutputMix(engineEngine, NULL, 0, NULL, NULL); in main()
58 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
61 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in main()
62 assert(SL_RESULT_SUCCESS == result); in main()
66 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_OBJECT, &outputMixObject2); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
71 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_OUTPUTMIX, in main()
73 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
75 result = (*outputMixObject)->Realize(outputMixObject, SL_BOOLEAN_FALSE); in main()
76 assert(SL_RESULT_SUCCESS == result); in main()
79 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_OBJECT, &outputMixObject2); in main()
80 assert(SL_RESULT_SUCCESS == result); in main()
83 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_DYNAMICINTERFACEMANAGEMENT, in main()
85 assert((SL_RESULT_SUCCESS == result) || (SL_RESULT_FEATURE_UNSUPPORTED) == result); in main()
86 if (SL_RESULT_SUCCESS == result) { in main()
91 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_OUTPUTMIX, in main()
93 assert(SL_RESULT_SUCCESS == result); in main()
96 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_ENVIRONMENTALREVERB, in main()
98 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
100 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_EQUALIZER, in main()
102 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
104 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_PRESETREVERB, in main()
106 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
108 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_VIRTUALIZER, in main()
110 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
112 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_VOLUME, in main()
114 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
116 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_BASSBOOST, in main()
118 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
120 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_VISUALIZATION, in main()
122 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
133 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 10, ids, req); in main()
134 assert(SL_RESULT_SUCCESS == result); in main()
137 result = (*outputMixObject)->Realize(outputMixObject, SL_BOOLEAN_FALSE); in main()
138 assert(SL_RESULT_SUCCESS == result); in main()
140 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_OBJECT, in main()
142 assert(SL_RESULT_SUCCESS == result); in main()
143 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_DYNAMICINTERFACEMANAGEMENT, in main()
145 assert((SL_RESULT_SUCCESS == result) || (SL_RESULT_FEATURE_UNSUPPORTED) == result); in main()
146 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_OUTPUTMIX, in main()
148 assert(SL_RESULT_SUCCESS == result); in main()
150 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_ENVIRONMENTALREVERB, in main()
152 assert(SL_RESULT_SUCCESS == result); in main()
153 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_EQUALIZER, in main()
155 assert(SL_RESULT_SUCCESS == result); in main()
156 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_PRESETREVERB, in main()
158 assert(SL_RESULT_SUCCESS == result); in main()
159 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_VIRTUALIZER, in main()
161 assert(SL_RESULT_SUCCESS == result); in main()
162 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_VOLUME, in main()
164 assert((SL_RESULT_SUCCESS == result) || (SL_RESULT_FEATURE_UNSUPPORTED) == result); in main()
165 if (SL_RESULT_SUCCESS == result) { in main()
170 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_BASSBOOST, in main()
172 assert(SL_RESULT_SUCCESS == result); in main()
173 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_VISUALIZATION, in main()
175 assert((SL_RESULT_SUCCESS == result) || (SL_RESULT_FEATURE_UNSUPPORTED) == result); in main()
176 if (SL_RESULT_SUCCESS == result) { in main()
184 result = (*outputMixOutputMix)->GetDestinationOutputDeviceIDs(outputMixOutputMix, &numDevices, in main()
186 assert(SL_RESULT_SUCCESS == result); in main()
189 result = (*outputMixOutputMix)->RegisterDeviceChangeCallback(outputMixOutputMix, NULL, NULL); in main()
190 assert(SL_RESULT_SUCCESS == result); in main()
191 result = (*outputMixOutputMix)->ReRoute(outputMixOutputMix, 1, deviceIDs); in main()
192 assert(SL_RESULT_SUCCESS == result); in main()