Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ADevicePrefs Class Reference

#include <adeviceprefs.h>

List of all members.

Public Member Functions

 ADevicePrefs (int x, int y, PreferencesWindow *pwindow, PreferencesDialog *dialog, AudioOutConfig *out_config, AudioInConfig *in_config, int mode)
 ~ADevicePrefs ()
void reset ()
int update (AudioOutConfig *out_config)
int initialize ()
int delete_objects ()

Static Public Member Functions

static int get_h ()

Public Attributes

PreferencesWindowpwindow

Private Member Functions

int create_oss_objs ()
int create_esound_objs ()
int create_firewire_objs ()
int create_alsa_objs ()
int delete_oss_objs ()
int delete_esound_objs ()
int delete_firewire_objs ()
int delete_alsa_objs ()

Private Attributes

AudioOutConfigout_config
AudioInConfigin_config
PreferencesDialogdialog
int driver
int mode
int x
int y
ADriverMenumenu
BC_Title * driver_title
BC_Title * path_title
BC_Title * bits_title
BC_Title * channels_title
BC_Title * server_title
BC_Title * port_title
BC_Title * channel_title
BC_Title * syt_title
OSSEnableoss_enable [MAXDEVICES]
ADeviceTextBoxoss_path [MAXDEVICES]
BitsPopuposs_bits
ADeviceIntBoxoss_channels [MAXDEVICES]
ADeviceTextBoxesound_server
ADeviceIntBoxesound_port
ADeviceIntBoxfirewire_port
ADeviceIntBoxfirewire_channel
ADeviceIntBoxfirewire_channels
ADeviceTextBoxfirewire_path
ADeviceIntBoxfirewire_syt
ALSADevicealsa_device
BitsPopupalsa_bits
ADeviceIntBoxalsa_channels
BC_CheckBox * alsa_workaround
ArrayList< BC_ListBoxItem * > * alsa_drivers


Detailed Description

Definition at line 24 of file adeviceprefs.h.


Constructor & Destructor Documentation

ADevicePrefs::ADevicePrefs int  x,
int  y,
PreferencesWindow pwindow,
PreferencesDialog dialog,
AudioOutConfig out_config,
AudioInConfig in_config,
int  mode
 

Definition at line 15 of file adeviceprefs.C.

References driver, and reset().

ADevicePrefs::~ADevicePrefs  ) 
 

Definition at line 34 of file adeviceprefs.C.

References delete_objects(), and menu.


Member Function Documentation

int ADevicePrefs::create_alsa_objs  )  [private]
 

Definition at line 304 of file adeviceprefs.C.

References _, alsa_bits, alsa_channels, alsa_device, alsa_drivers, AudioInConfig::alsa_in_bits, AudioInConfig::alsa_in_channels, AudioInConfig::alsa_in_device, AudioOutConfig::alsa_out_bits, AudioOutConfig::alsa_out_channels, AudioOutConfig::alsa_out_device, alsa_workaround, bits_title, channels_title, BitsPopup::create_objects(), dialog, BitsPopup::get_w(), in_config, AudioOutConfig::interrupt_workaround, menu, mode, MODEDUPLEX, MODEPLAY, MODERECORD, out_config, path_title, x, and y.

Referenced by initialize().

int ADevicePrefs::create_esound_objs  )  [private]
 

Definition at line 402 of file adeviceprefs.C.

References _, dialog, AudioInConfig::esound_in_port, AudioInConfig::esound_in_server, AudioOutConfig::esound_out_port, AudioOutConfig::esound_out_server, esound_port, esound_server, in_config, menu, mode, MODEDUPLEX, MODEPLAY, MODERECORD, out_config, port_title, server_title, x, and y.

Referenced by initialize().

int ADevicePrefs::create_firewire_objs  )  [private]
 

Definition at line 442 of file adeviceprefs.C.

References _, channel_title, channels_title, dialog, driver, AudioOutConfig::dv1394_channel, AudioOutConfig::dv1394_channels, AudioOutConfig::dv1394_path, AudioOutConfig::dv1394_port, AudioOutConfig::dv1394_syt, firewire_channel, AudioInConfig::firewire_channel, AudioOutConfig::firewire_channel, firewire_channels, AudioOutConfig::firewire_channels, firewire_path, AudioOutConfig::firewire_path, firewire_port, AudioInConfig::firewire_port, AudioOutConfig::firewire_port, firewire_syt, AudioOutConfig::firewire_syt, in_config, menu, mode, MODEDUPLEX, MODEPLAY, MODERECORD, out_config, path_title, port_title, syt_title, x, and y.

Referenced by initialize().

int ADevicePrefs::create_oss_objs  )  [private]
 

Definition at line 209 of file adeviceprefs.C.

References _, bits_title, channels_title, BitsPopup::create_objects(), DEVICE_H, dialog, BitsPopup::get_w(), in_config, menu, mode, MODEDUPLEX, MODEPLAY, MODERECORD, oss_bits, oss_channels, AudioInConfig::oss_in_bits, AudioInConfig::oss_in_channels, AudioInConfig::oss_in_device, AudioOutConfig::oss_out_bits, AudioOutConfig::oss_out_channels, AudioOutConfig::oss_out_device, oss_path, out_config, path_title, x, and y.

Referenced by initialize().

int ADevicePrefs::delete_alsa_objs  )  [private]
 

Definition at line 192 of file adeviceprefs.C.

References alsa_bits, alsa_channels, alsa_device, alsa_drivers, alsa_workaround, bits_title, channels_title, and path_title.

Referenced by delete_objects().

int ADevicePrefs::delete_esound_objs  )  [private]
 

Definition at line 156 of file adeviceprefs.C.

References esound_port, esound_server, port_title, and server_title.

Referenced by delete_objects().

int ADevicePrefs::delete_firewire_objs  )  [private]
 

Definition at line 165 of file adeviceprefs.C.

References channel_title, channels_title, firewire_channel, firewire_channels, firewire_path, firewire_port, firewire_syt, path_title, port_title, and syt_title.

Referenced by delete_objects().

int ADevicePrefs::delete_objects  ) 
 

Definition at line 115 of file adeviceprefs.C.

References delete_alsa_objs(), delete_esound_objs(), delete_firewire_objs(), delete_oss_objs(), driver, and reset().

Referenced by initialize(), and ~ADevicePrefs().

int ADevicePrefs::delete_oss_objs  )  [private]
 

Definition at line 140 of file adeviceprefs.C.

References bits_title, channels_title, oss_bits, oss_channels, oss_path, and path_title.

Referenced by delete_objects().

int ADevicePrefs::get_h  )  [static]
 

Definition at line 110 of file adeviceprefs.C.

References DEVICE_H.

Referenced by RecordPrefs::create_objects(), and PlaybackPrefs::create_objects().

int ADevicePrefs::initialize  ) 
 

Definition at line 60 of file adeviceprefs.C.

References create_alsa_objs(), create_esound_objs(), create_firewire_objs(), ADriverMenu::create_objects(), create_oss_objs(), delete_objects(), dialog, AudioInConfig::driver, AudioOutConfig::driver, driver, in_config, menu, mode, MODEDUPLEX, MODEPLAY, MODERECORD, out_config, x, and y.

Referenced by RecordPrefs::create_objects(), PlaybackPrefs::create_objects(), and ADriverItem::handle_event().

void ADevicePrefs::reset  ) 
 

Definition at line 40 of file adeviceprefs.C.

References alsa_bits, alsa_channels, alsa_device, alsa_drivers, alsa_workaround, bits_title, channels_title, firewire_channels, firewire_path, firewire_syt, menu, path_title, and syt_title.

Referenced by ADevicePrefs(), and delete_objects().

int ADevicePrefs::update AudioOutConfig out_config  ) 
 


Member Data Documentation

BitsPopup* ADevicePrefs::alsa_bits [private]
 

Definition at line 79 of file adeviceprefs.h.

Referenced by create_alsa_objs(), delete_alsa_objs(), and reset().

ADeviceIntBox* ADevicePrefs::alsa_channels [private]
 

Definition at line 80 of file adeviceprefs.h.

Referenced by create_alsa_objs(), delete_alsa_objs(), and reset().

ALSADevice* ADevicePrefs::alsa_device [private]
 

Definition at line 78 of file adeviceprefs.h.

Referenced by create_alsa_objs(), delete_alsa_objs(), and reset().

ArrayList<BC_ListBoxItem*>* ADevicePrefs::alsa_drivers [private]
 

Definition at line 83 of file adeviceprefs.h.

Referenced by create_alsa_objs(), delete_alsa_objs(), and reset().

BC_CheckBox* ADevicePrefs::alsa_workaround [private]
 

Definition at line 81 of file adeviceprefs.h.

Referenced by create_alsa_objs(), delete_alsa_objs(), and reset().

BC_Title * ADevicePrefs::bits_title [private]
 

Definition at line 63 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_oss_objs(), delete_alsa_objs(), delete_oss_objs(), and reset().

BC_Title * ADevicePrefs::channel_title [private]
 

Definition at line 64 of file adeviceprefs.h.

Referenced by create_firewire_objs(), and delete_firewire_objs().

BC_Title * ADevicePrefs::channels_title [private]
 

Definition at line 63 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_firewire_objs(), create_oss_objs(), delete_alsa_objs(), delete_firewire_objs(), delete_oss_objs(), and reset().

PreferencesDialog* ADevicePrefs::dialog [private]
 

Definition at line 58 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_esound_objs(), create_firewire_objs(), create_oss_objs(), and initialize().

int ADevicePrefs::driver [private]
 

Definition at line 59 of file adeviceprefs.h.

Referenced by ADevicePrefs(), create_firewire_objs(), delete_objects(), and initialize().

BC_Title* ADevicePrefs::driver_title [private]
 

Definition at line 63 of file adeviceprefs.h.

ADeviceIntBox* ADevicePrefs::esound_port [private]
 

Definition at line 70 of file adeviceprefs.h.

Referenced by create_esound_objs(), and delete_esound_objs().

ADeviceTextBox* ADevicePrefs::esound_server [private]
 

Definition at line 69 of file adeviceprefs.h.

Referenced by create_esound_objs(), and delete_esound_objs().

ADeviceIntBox* ADevicePrefs::firewire_channel [private]
 

Definition at line 72 of file adeviceprefs.h.

Referenced by create_firewire_objs(), and delete_firewire_objs().

ADeviceIntBox* ADevicePrefs::firewire_channels [private]
 

Definition at line 73 of file adeviceprefs.h.

Referenced by create_firewire_objs(), delete_firewire_objs(), and reset().

ADeviceTextBox* ADevicePrefs::firewire_path [private]
 

Definition at line 74 of file adeviceprefs.h.

Referenced by create_firewire_objs(), delete_firewire_objs(), and reset().

ADeviceIntBox* ADevicePrefs::firewire_port [private]
 

Definition at line 71 of file adeviceprefs.h.

Referenced by create_firewire_objs(), and delete_firewire_objs().

ADeviceIntBox* ADevicePrefs::firewire_syt [private]
 

Definition at line 75 of file adeviceprefs.h.

Referenced by create_firewire_objs(), delete_firewire_objs(), and reset().

AudioInConfig* ADevicePrefs::in_config [private]
 

Definition at line 57 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_esound_objs(), create_firewire_objs(), create_oss_objs(), and initialize().

ADriverMenu* ADevicePrefs::menu [private]
 

Definition at line 62 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_esound_objs(), create_firewire_objs(), create_oss_objs(), initialize(), reset(), and ~ADevicePrefs().

int ADevicePrefs::mode [private]
 

Definition at line 59 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_esound_objs(), create_firewire_objs(), create_oss_objs(), and initialize().

BitsPopup* ADevicePrefs::oss_bits [private]
 

Definition at line 67 of file adeviceprefs.h.

Referenced by create_oss_objs(), and delete_oss_objs().

ADeviceIntBox* ADevicePrefs::oss_channels[MAXDEVICES] [private]
 

Definition at line 68 of file adeviceprefs.h.

Referenced by create_oss_objs(), and delete_oss_objs().

OSSEnable* ADevicePrefs::oss_enable[MAXDEVICES] [private]
 

Definition at line 65 of file adeviceprefs.h.

ADeviceTextBox* ADevicePrefs::oss_path[MAXDEVICES] [private]
 

Definition at line 66 of file adeviceprefs.h.

Referenced by create_oss_objs(), and delete_oss_objs().

AudioOutConfig* ADevicePrefs::out_config [private]
 

Definition at line 56 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_esound_objs(), create_firewire_objs(), create_oss_objs(), and initialize().

BC_Title * ADevicePrefs::path_title [private]
 

Definition at line 63 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_firewire_objs(), create_oss_objs(), delete_alsa_objs(), delete_firewire_objs(), delete_oss_objs(), and reset().

BC_Title * ADevicePrefs::port_title [private]
 

Definition at line 64 of file adeviceprefs.h.

Referenced by create_esound_objs(), create_firewire_objs(), delete_esound_objs(), and delete_firewire_objs().

PreferencesWindow* ADevicePrefs::pwindow
 

Definition at line 42 of file adeviceprefs.h.

BC_Title* ADevicePrefs::server_title [private]
 

Definition at line 64 of file adeviceprefs.h.

Referenced by create_esound_objs(), and delete_esound_objs().

BC_Title * ADevicePrefs::syt_title [private]
 

Definition at line 64 of file adeviceprefs.h.

Referenced by create_firewire_objs(), delete_firewire_objs(), and reset().

int ADevicePrefs::x [private]
 

Definition at line 60 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_esound_objs(), create_firewire_objs(), create_oss_objs(), and initialize().

int ADevicePrefs::y [private]
 

Definition at line 61 of file adeviceprefs.h.

Referenced by create_alsa_objs(), create_esound_objs(), create_firewire_objs(), create_oss_objs(), and initialize().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:08 2006 for Cinelerra-svn by  doxygen 1.4.4