Lines Matching refs:numSupportedInterfaces
28 SLuint32 numSupportedInterfaces = 12345;
29 result = slQueryNumSupportedEngineInterfaces(&numSupportedInterfaces);
34 printf("Engine number of supported interfaces %u\n", numSupportedInterfaces);
35 SLInterfaceID *engine_ids = calloc(numSupportedInterfaces+1, sizeof(SLInterfaceID));
37 SLboolean *engine_req = calloc(numSupportedInterfaces+1, sizeof(SLboolean));
42 for (index = 0; index < numSupportedInterfaces + 1; ++index) {
46 if (index < numSupportedInterfaces) {
61 if (0 < numSupportedInterfaces) {
62 printf("Create engine with numSupportedInterfaces > 0 but NULL pointers\n");
63 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, NULL);
66 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, NULL, engine_req);
72 result = slCreateEngine(NULL, 0, NULL, numSupportedInterfaces, engine_ids, engine_req);
96 engine_ids[numSupportedInterfaces] = SL_IID_VOLUME;
97 engine_req[numSupportedInterfaces] = SL_BOOLEAN_TRUE;
98 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces+1, engine_ids,
104 engine_req[numSupportedInterfaces] = SL_BOOLEAN_FALSE;
109 result = slCreateEngine(&engineObject, 2, options, numSupportedInterfaces+1, engine_ids,
115 for (index = 0; index < numSupportedInterfaces; ++index) {
130 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, engine_req);
139 for (index = 0; index < numSupportedInterfaces; ++index) {