Lines Matching refs:result
36 SLresult result; in main() local
40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main()
41 assert(SL_RESULT_SUCCESS == result); in main()
43 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main()
44 assert(SL_RESULT_SUCCESS == result); in main()
45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main()
46 assert(SL_RESULT_SUCCESS == result); in main()
50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in main()
51 assert(SL_RESULT_SUCCESS == result); in main()
55 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_DYNAMICINTERFACEMANAGEMENT, in main()
57 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
61 result = (*outputMixObject)->Realize(outputMixObject, SL_BOOLEAN_FALSE); in main()
62 assert(SL_RESULT_SUCCESS == result); in main()
65 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_DYNAMICINTERFACEMANAGEMENT, in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
71 result = (*outputMixDIM)->RegisterCallback(outputMixDIM, NULL, NULL); in main()
72 assert(SL_RESULT_SUCCESS == result); in main()
76 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_ENVIRONMENTALREVERB, in main()
78 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
82 result = (*outputMixDIM)->ResumeInterface(outputMixDIM, SL_IID_ENVIRONMENTALREVERB, in main()
84 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
87 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_ENVIRONMENTALREVERB, in main()
89 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
93 result = (*outputMixDIM)->AddInterface(outputMixDIM, SL_IID_ENVIRONMENTALREVERB, in main()
95 assert(SL_RESULT_SUCCESS == result); in main()
98 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_ENVIRONMENTALREVERB, in main()
100 assert(SL_RESULT_SUCCESS == result); in main()
104 result = (*outputMixDIM)->AddInterface(outputMixDIM, SL_IID_ENVIRONMENTALREVERB, in main()
106 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
109 result = (*outputMixDIM)->ResumeInterface(outputMixDIM, SL_IID_ENVIRONMENTALREVERB, in main()
111 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
114 result = (*outputMixDIM)->RemoveInterface(outputMixDIM, SL_IID_ENVIRONMENTALREVERB); in main()
115 assert((SL_RESULT_SUCCESS == result) || (SL_RESULT_FEATURE_UNSUPPORTED == result)); in main()
118 if (SL_RESULT_SUCCESS == result) { in main()
119 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_ENVIRONMENTALREVERB, in main()
121 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
123 result = (*outputMixDIM)->RemoveInterface(outputMixDIM, SL_IID_ENVIRONMENTALREVERB); in main()
124 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
125 result = (*outputMixDIM)->AddInterface(outputMixDIM, SL_IID_ENVIRONMENTALREVERB, in main()
127 assert(SL_RESULT_SUCCESS == result); in main()
128 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_ENVIRONMENTALREVERB, in main()
130 assert(SL_RESULT_SUCCESS == result); in main()
136 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_PLAY, &outputMixPlay); in main()
137 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
141 result = (*outputMixDIM)->AddInterface(outputMixDIM, SL_IID_PLAY, SL_BOOLEAN_FALSE); in main()
142 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
145 result = (*outputMixObject)->GetInterface(outputMixObject, SL_IID_PLAY, &outputMixPlay); in main()
146 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()