Home
last modified time | relevance | path

Searched refs:default_device (Results 1 – 25 of 1094) sorted by relevance

12345678910>>...44

/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/
H A Ddevice.cc19 …DefaultDeviceNoExcept() noexcept { return internal::GetInternalThreadLocalState().default_device; } in GetDefaultDeviceNoExcept()
24 Device*& default_device = internal::GetInternalThreadLocalState().default_device; in GetDefaultDevice() local
25 if (default_device == nullptr) { in GetDefaultDevice()
26 default_device = &GetDefaultContext().GetDevice({native::NativeBackend::kDefaultName, 0}); in GetDefaultDevice()
28 return *default_device; in GetDefaultDevice()
35 Device*& default_device = internal::GetInternalThreadLocalState().default_device; in SetDefaultDevice() local
36 default_device = device; in SetDefaultDevice()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/sound/
H A Dopenal.cpp123 if ( (user_device && default_device) && !strcmp(user_device, default_device) ) { in find_playback_device()
132 } else if (default_device && !strcmp(device.c_str(), default_device)) { in find_playback_device()
222 if ( (user_device && default_device) && !strcmp(user_device, default_device) ) { in find_capture_device()
231 } else if (default_device && !strcmp(device.c_str(), default_device)) { in find_capture_device()
422 if (default_device != nullptr) { in enumerate_playback_devices()
423 info->default_playback_device = default_device; in enumerate_playback_devices()
424 …o->efx_support.push_back(std::make_pair(SCP_string(default_device), device_supports_efx(default_de… in enumerate_playback_devices()
449 if (default_device) { in enumerate_playback_devices()
460 if (default_device != nullptr) { in enumerate_capture_devices()
461 info->default_capture_device = default_device; in enumerate_capture_devices()
[all …]
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/sound/
H A Dopenal.cpp115 const char *default_device = (const char*) alcGetString( NULL, ALC_DEFAULT_DEVICE_SPECIFIER ); in find_playback_device() local
118 if ( (user_device && default_device) && !strcmp(user_device, default_device) ) { in find_playback_device()
140 } else if (default_device && !strcmp(str_list, default_device)) { in find_playback_device()
151 if (default_device) { in find_playback_device()
152 OALdevice new_device(default_device); in find_playback_device()
246 …const char *default_device = (const char*) alcGetString( NULL, ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIE… in find_capture_device() local
249 if ( (user_device && default_device) && !strcmp(user_device, default_device) ) { in find_capture_device()
265 } else if (default_device && !strcmp(str_list, default_device)) { in find_capture_device()
276 if (default_device) { in find_capture_device()
277 OALdevice new_device(default_device); in find_capture_device()
/dports/devel/boost-docs/boost_1_72_0/libs/compute/test/
H A Dtest_device.cpp32 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
46 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
54 boost::compute::device device1 = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
63 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
92 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
146 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
191 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
223 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
231 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
239 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/compute/test/
H A Dtest_device.cpp32 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
46 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
54 boost::compute::device device1 = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
63 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
92 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
146 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
191 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
223 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
231 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
239 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/compute/test/
H A Dtest_device.cpp32 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
46 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
54 boost::compute::device device1 = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
63 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
92 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
146 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
191 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
223 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
231 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
239 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/compute/test/
H A Dtest_device.cpp32 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
46 boost::compute::device gpu = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
54 boost::compute::device device1 = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
63 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
92 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
146 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
191 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
223 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
231 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
239 boost::compute::device device = boost::compute::system::default_device(); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavdevice/
H A Dpulse_audio_common.c57 char *default_device; member
190 info->default_device = av_strdup(i->default_sink_name); in pulse_server_info_cb()
192 info->default_device = av_strdup(i->default_source_name); in pulse_server_info_cb()
193 if (!info->default_device) in pulse_server_info_cb()
237 devices->default_device = -1; in ff_pulse_audio_get_devices()
239 if (!strcmp(devices->devices[i]->device_name, dev_list.default_device)) { in ff_pulse_audio_get_devices()
240 devices->default_device = i; in ff_pulse_audio_get_devices()
246 av_free(dev_list.default_device); in ff_pulse_audio_get_devices()
H A Dfbdev_common.c79 const char *default_device = ff_fbdev_default_device(); in ff_fbdev_get_device_list() local
115 if (default_device && !strcmp(device->device_name, default_device)) { in ff_fbdev_get_device_list()
116 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
117 default_device = NULL; in ff_fbdev_get_device_list()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavdevice/
H A Dpulse_audio_common.c57 char *default_device; member
190 info->default_device = av_strdup(i->default_sink_name); in pulse_server_info_cb()
192 info->default_device = av_strdup(i->default_source_name); in pulse_server_info_cb()
193 if (!info->default_device) in pulse_server_info_cb()
237 devices->default_device = -1; in ff_pulse_audio_get_devices()
239 if (!strcmp(devices->devices[i]->device_name, dev_list.default_device)) { in ff_pulse_audio_get_devices()
240 devices->default_device = i; in ff_pulse_audio_get_devices()
246 av_free(dev_list.default_device); in ff_pulse_audio_get_devices()
H A Dfbdev_common.c79 const char *default_device = ff_fbdev_default_device(); in ff_fbdev_get_device_list() local
110 if (default_device && !strcmp(device->device_name, default_device)) { in ff_fbdev_get_device_list()
111 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
112 default_device = NULL; in ff_fbdev_get_device_list()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavdevice/
H A Dpulse_audio_common.c57 char *default_device; member
190 info->default_device = av_strdup(i->default_sink_name); in pulse_server_info_cb()
192 info->default_device = av_strdup(i->default_source_name); in pulse_server_info_cb()
193 if (!info->default_device) in pulse_server_info_cb()
237 devices->default_device = -1; in ff_pulse_audio_get_devices()
239 if (!strcmp(devices->devices[i]->device_name, dev_list.default_device)) { in ff_pulse_audio_get_devices()
240 devices->default_device = i; in ff_pulse_audio_get_devices()
246 av_free(dev_list.default_device); in ff_pulse_audio_get_devices()
H A Dfbdev_common.c79 const char *default_device = ff_fbdev_default_device(); in ff_fbdev_get_device_list() local
115 if (default_device && !strcmp(device->device_name, default_device)) { in ff_fbdev_get_device_list()
116 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
117 default_device = NULL; in ff_fbdev_get_device_list()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavdevice/
H A Dpulse_audio_common.c57 char *default_device; member
190 info->default_device = av_strdup(i->default_sink_name); in pulse_server_info_cb()
192 info->default_device = av_strdup(i->default_source_name); in pulse_server_info_cb()
193 if (!info->default_device) in pulse_server_info_cb()
237 devices->default_device = -1; in ff_pulse_audio_get_devices()
239 if (!strcmp(devices->devices[i]->device_name, dev_list.default_device)) { in ff_pulse_audio_get_devices()
240 devices->default_device = i; in ff_pulse_audio_get_devices()
246 av_free(dev_list.default_device); in ff_pulse_audio_get_devices()
H A Dfbdev_common.c79 const char *default_device = ff_fbdev_default_device(); in ff_fbdev_get_device_list() local
115 if (default_device && !strcmp(device->device_name, default_device)) { in ff_fbdev_get_device_list()
116 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
117 default_device = NULL; in ff_fbdev_get_device_list()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavdevice/
H A Dpulse_audio_common.c57 char *default_device; member
190 info->default_device = av_strdup(i->default_sink_name); in pulse_server_info_cb()
192 info->default_device = av_strdup(i->default_source_name); in pulse_server_info_cb()
193 if (!info->default_device) in pulse_server_info_cb()
237 devices->default_device = -1; in ff_pulse_audio_get_devices()
239 if (!strcmp(devices->devices[i]->device_name, dev_list.default_device)) { in ff_pulse_audio_get_devices()
240 devices->default_device = i; in ff_pulse_audio_get_devices()
246 av_free(dev_list.default_device); in ff_pulse_audio_get_devices()
H A Dfbdev_common.c79 const char *default_device = ff_fbdev_default_device(); in ff_fbdev_get_device_list() local
115 if (default_device && !strcmp(device->device_name, default_device)) { in ff_fbdev_get_device_list()
116 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
117 default_device = NULL; in ff_fbdev_get_device_list()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavdevice/
H A Dpulse_audio_common.c57 char *default_device; member
190 info->default_device = av_strdup(i->default_sink_name); in pulse_server_info_cb()
192 info->default_device = av_strdup(i->default_source_name); in pulse_server_info_cb()
193 if (!info->default_device) in pulse_server_info_cb()
237 devices->default_device = -1; in ff_pulse_audio_get_devices()
239 if (!strcmp(devices->devices[i]->device_name, dev_list.default_device)) { in ff_pulse_audio_get_devices()
240 devices->default_device = i; in ff_pulse_audio_get_devices()
246 av_free(dev_list.default_device); in ff_pulse_audio_get_devices()
H A Dfbdev_common.c79 const char *default_device = ff_fbdev_default_device(); in ff_fbdev_get_device_list() local
110 if (default_device && !strcmp(device->device_name, default_device)) { in ff_fbdev_get_device_list()
111 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
112 default_device = NULL; in ff_fbdev_get_device_list()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavdevice/
H A Dpulse_audio_common.c57 char *default_device; member
190 info->default_device = av_strdup(i->default_sink_name); in pulse_server_info_cb()
192 info->default_device = av_strdup(i->default_source_name); in pulse_server_info_cb()
193 if (!info->default_device) in pulse_server_info_cb()
237 devices->default_device = -1; in ff_pulse_audio_get_devices()
239 if (!strcmp(devices->devices[i]->device_name, dev_list.default_device)) { in ff_pulse_audio_get_devices()
240 devices->default_device = i; in ff_pulse_audio_get_devices()
246 av_free(dev_list.default_device); in ff_pulse_audio_get_devices()
H A Dfbdev_common.c79 const char *default_device = ff_fbdev_default_device(); in ff_fbdev_get_device_list() local
115 if (default_device && !strcmp(device->device_name, default_device)) { in ff_fbdev_get_device_list()
116 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
117 default_device = NULL; in ff_fbdev_get_device_list()
/dports/audio/strawberry/strawberry-1.0.0/src/engine/
H A Dmmdevicefinder.cpp51 Device default_device; in ListDevices() local
52 default_device.description = "Default device"; in ListDevices()
53 default_device.iconname = GuessIconName(default_device.description); in ListDevices()
54 devices.append(default_device); in ListDevices()
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/x86/video/
H A Dfbdev.c17 struct pci_dev *default_device = vga_default_device(); in fb_is_primary_device() local
26 if (default_device) { in fb_is_primary_device()
27 if (pci_dev == default_device) in fb_is_primary_device()
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/x86/video/
H A Dfbdev.c17 struct pci_dev *default_device = vga_default_device(); in fb_is_primary_device() local
26 if (default_device) { in fb_is_primary_device()
27 if (pci_dev == default_device) in fb_is_primary_device()
/dports/multimedia/libv4l/linux-5.13-rc2/arch/x86/video/
H A Dfbdev.c17 struct pci_dev *default_device = vga_default_device(); in fb_is_primary_device() local
26 if (default_device) { in fb_is_primary_device()
27 if (pci_dev == default_device) in fb_is_primary_device()

12345678910>>...44