Lines Matching defs:device
292 static void destructoWrite(DVDeviceID device, DVDeviceRefNum refNum, int file)
325 err = sDVFuncs.fDVOpenDriver( device, &refNum );
330 err = sDVFuncs.fDVOpenDriver( device, &refNum );
334 printf("Error %d calling DVOpenDriver(%ld)\n", err, device);
342 printf("event for device %d, event %d, userdata %p\n",
354 DVDeviceID device;
406 err = sDVFuncs.fDVGetIndDevice(&device, i);
409 err = sDVFuncs.fDVGetDeviceName(device, name);
411 printf("Error %d calling DVGetDeviceName(%ld)\n", err, device);
413 printf("Device %ld name is %s\n", device, name);
415 err = sDVFuncs.fDVOpenDriver( device, &refNum );
420 err = sDVFuncs.fDVOpenDriver( device, &refNum );
424 printf("Error %d calling DVOpenDriver(%ld)\n", err, device);
428 printf("Error %d calling DVGetDeviceStandard(%ld)\n", err, device);
430 printf("Device %ld video standard is NTSC\n", device);
432 printf("Device %ld video standard is PAL\n", device);
434 printf("Device %ld, unknown video standard %ld\n", device, standard);
438 printf("Error %d calling DVIsEnabled(%ld)\n", err, device);
440 printf("Device %ld isEnabled: %d\n", device, isEnabled);
449 destructoWrite(device, refNum, file);
469 printf("Error %d calling DVCloseDriver(%ld)\n", err, device);