Home
last modified time | relevance | path

Searched refs:ndevices (Results 1 – 13 of 13) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudiodeviceprovider.c194 _audio_system_get_devices (gint * ndevices) in _audio_system_get_devices() argument
213 *ndevices = propertySize / sizeof (AudioDeviceID); in _audio_system_get_devices()
222 *ndevices = 0; in _audio_system_get_devices()
232 gboolean is_src, AudioDeviceID * osx_devices, gint ndevices, in gst_osx_audio_device_provider_probe_internal() argument
246 for (i = 0; i < ndevices; i++) { in gst_osx_audio_device_provider_probe_internal()
286 gint ndevices = 0; in gst_osx_audio_device_provider_probe() local
288 osx_devices = _audio_system_get_devices (&ndevices); in gst_osx_audio_device_provider_probe()
290 if (ndevices < 1) { in gst_osx_audio_device_provider_probe()
295 GST_INFO ("found %d audio device(s)", ndevices); in gst_osx_audio_device_provider_probe()
298 ndevices, &devices); in gst_osx_audio_device_provider_probe()
[all …]
Dgstosxcoreaudiohal.c80 _audio_system_get_devices (gint * ndevices) in _audio_system_get_devices() argument
99 *ndevices = propertySize / sizeof (AudioDeviceID); in _audio_system_get_devices()
108 *ndevices = 0; in _audio_system_get_devices()
1189 gint i, ndevices = 0; in gst_core_audio_select_device_impl() local
1196 devices = _audio_system_get_devices (&ndevices); in gst_core_audio_select_device_impl()
1198 if (ndevices < 1) { in gst_core_audio_select_device_impl()
1203 GST_DEBUG ("found %d audio device(s)", ndevices); in gst_core_audio_select_device_impl()
1206 for (i = 0; i < ndevices; i++) { in gst_core_audio_select_device_impl()
1244 for (i = 0; i < ndevices; i++) { in gst_core_audio_select_device_impl()
/third_party/NuttX/drivers/usbdev/gadget/
Dcomposite_desc.c93 for (i = 0; i < priv->ndevices; i++) in composite_mkstrdesc()
105 for (i = 0; i < priv->ndevices; i++) in composite_mkdevdesc()
186 for (i = 0; i < priv->ndevices; i++) in composite_mkcfgdesc()
197 if (priv->ndevices > 1) in composite_mkcfgdesc()
Dcomposite.c179 for (i = 0; i < cdev->ndevices; i++) in usb_composite_unbind()
237 for (i = 0; i < cdev->ndevices; i++) in usb_composite_bind()
413 for (i = 0; i < priv->ndevices; i++) in composite_classsetup()
426 for (i = 0; i < priv->ndevices; i++) in composite_classsetup()
548 for (i = 0; i < usb_cdev->ndevices; i++) in usb_composite_setup()
652 for (i = 0; i < priv->ndevices; i++) in usb_composite_disconnect()
811 int composite_initialize(struct composite_softc *softc, uint8_t ndevices, in composite_initialize() argument
832 for (i = 0; i < ndevices; i++) in composite_initialize()
846 priv->ndevices = ndevices; in composite_initialize()
865 for (i = 0; i < cdev->ndevices; i++) in composite_uninitialize()
Dcomposite.h135 uint8_t ndevices; /* Num devices in this composite device */ member
171 extern int composite_initialize(struct composite_softc *softc, uint8_t ndevices,
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11xinput2.c205 int ndevices,i,j; in X11_InitXinput2Multitouch() local
206 info = X11_XIQueryDevice(data->display, XIAllDevices, &ndevices); in X11_InitXinput2Multitouch()
208 for (i = 0; i < ndevices; i++) { in X11_InitXinput2Multitouch()
/third_party/libinput/tools/
Dlibinput-debug-events.c971 size_t ndevices = 0; in main() local
1021 ndevices >= ARRAY_LENGTH(seat_or_devices)) { in main()
1027 seat_or_devices[ndevices++] = optarg; in main()
1031 ndevices >= ARRAY_LENGTH(seat_or_devices)) { in main()
1038 ndevices = 1; in main()
1063 if (ndevices >= ARRAY_LENGTH(seat_or_devices)) { in main()
1067 seat_or_devices[ndevices++] = argv[optind]; in main()
Dlibinput-replay249 ndevices = fetch(recording, 'ndevices')
251 if ndevices != len(devices):
252 error('WARNING: truncated file, expected {} devices, got {}'.format(ndevices, len(devices)))
Dlibinput-record.c106 int ndevices; member
1487 iprintf(ctx, "ndevices: %d\n", ctx->ndevices); in print_header()
2114 struct pollfd fds[ctx->ndevices + 2]; in mainloop()
2154 if (ctx->ndevices > 1) { in mainloop()
2329 ctx->ndevices++; in init_device()
2466 int ndevices; in main() local
2516 ndevices = argc - optind; in main()
2524 if (ndevices >= 1 && output_arg == NULL) { in main()
2532 if (ndevices == 1) { in main()
2538 ndevices--; in main()
[all …]
Dlibinput-record-verify-yaml.py78 ndevices = self.yaml['ndevices']
79 self.assertTrue(isinstance(ndevices, int))
80 self.assertGreaterEqual(ndevices, 1)
81 self.assertEqual(ndevices, len(self.yaml['devices']))
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c51 uint8_t ndevices; member
739 dev_info->initialize_sub(&info->devs[info->ndevices], info->ifnobase, func->minor); in func_inst_init()
740 info->devs[info->ndevices].devinfo.strbase = info->strbase; in func_inst_init()
741 info->ifnobase += info->devs[info->ndevices].devinfo.ninterfaces; in func_inst_init()
742 info->strbase += info->devs[info->ndevices].devinfo.nstrings; in func_inst_init()
746 dev_info->initialize_sub(&info->devs[info->ndevices], info->ifnobase, dev_info->type); in func_inst_init()
749 info->ndevices++; in func_inst_init()
766 info.ndevices = 0; in fconfig_composite_initialize()
779 return fconfig_do_composite_initialize(com_s, info.ndevices, devs); in fconfig_composite_initialize()
Df_config.c188 for (i = 0; i < com_dev->ndevices; i++) in fconfig_mkstrdesc()
321 for (i = 0; i < priv->ndevices; i++) in fconfig_mkcfgdesc()
428 int fconfig_do_composite_initialize(struct composite_softc *softc, uint8_t ndevices, in fconfig_do_composite_initialize() argument
434 ret = composite_initialize(softc, ndevices, pdevices); in fconfig_do_composite_initialize()
/third_party/NuttX/drivers/usbdev/gadget/fconfig/include/
Df_config.h61 int fconfig_do_composite_initialize(struct composite_softc *softc, uint8_t ndevices,