-int VDevicePrefs::create_lml_objs()
-{
- char *output_char = 0;
- int x1 = x + menu->get_w() + 5;
- BC_Resources *resources = BC_WindowBase::get_resources();
-
- switch(mode)
- {
- case MODEPLAY:
- output_char = out_config->lml_out_device;
- break;
- case MODERECORD:
- output_char = in_config->lml_in_device;
- break;
- }
- dialog->add_subwindow(device_title = new BC_Title(x1, y, _("Device path:"), MEDIUMFONT, resources->text_default));
- x1 += device_title->get_w() + 10;
- dialog->add_subwindow(device_text = new VDeviceTextBox(x1, y + 20, output_char));
- return 0;
-}
-
-int VDevicePrefs::create_buz_objs()
-{
-#ifdef HAVE_VIDEO4LINUX
-
-
- char *output_char = 0;
- int x1 = x + menu->get_w() + 5;
- int x2 = x1 + 210;
- int y1 = y;
- BC_Resources *resources = BC_WindowBase::get_resources();
-
- switch(mode)
- {
- case MODEPLAY:
- output_char = out_config->buz_out_device;
- break;
- case MODERECORD:
- output_char = in_config->buz_in_device;
- break;
- }
- dialog->add_subwindow(device_title = new BC_Title(x1, y1, _("Device path:"), MEDIUMFONT, resources->text_default));
-
- y1 += 20;
- dialog->add_subwindow(device_text = new VDeviceTextBox(x1, y1, output_char));
-
- if(driver == PLAYBACK_BUZ)
- {
- dialog->add_subwindow(buz_swap_channels =
- new VDeviceCheckBox(x2, y1, &out_config->buz_swap_fields, _("Swap fields")));
- }
- y1 += 30;
- if(driver == PLAYBACK_BUZ)
- {
- dialog->add_subwindow(output_title = new BC_Title(x1, y1, _("Output channel:")));
- y1 += 20;
- channel_picker = new PrefsChannelPicker(pwindow->mwindow,
- this,
- pwindow->mwindow->channeldb_buz,
- x1,
- y1);
- channel_picker->create_objects();
- }
-#endif // HAVE_VIDEO4LINUX
-
- return 0;
-}
-