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

audioconfig.h

Go to the documentation of this file.
00001 #ifndef AUDIOCONFIG_H
00002 #define AUDIOCONFIG_H
00003 
00004 #include "defaults.inc"
00005 
00006 // OSS requires specific channel and bitrate settings for full duplex
00007 
00008 class AudioConfig
00009 {
00010 public:
00011         AudioConfig();
00012         ~AudioConfig();
00013 
00014         AudioConfig& operator=(AudioConfig &that);
00015         int load_defaults(Defaults *defaults);
00016         int save_defaults(Defaults *defaults);
00017 
00018 // Input
00019         int audio_in_driver;
00020         char oss_in_device[1024];
00021         int oss_in_channels;
00022         int oss_in_bits;
00023         int afirewire_in_port, afirewire_in_channel;
00024         char esound_in_server[1024];
00025         int esound_in_port;
00026 
00027 // Output
00028         int audio_out_driver;
00029         char oss_out_device[1024];
00030         char esound_out_server[1024];
00031         int esound_out_port;
00032         int oss_out_channels;
00033         int oss_out_bits;
00034 
00035 
00036 // Duplex
00037         int audio_duplex_driver;
00038         char oss_duplex_device[1024];
00039         char esound_duplex_server[1024];
00040         int esound_duplex_port;
00041         int oss_duplex_channels;
00042         int oss_duplex_bits;
00043 };
00044 
00045 #endif

Generated on Sun Jan 8 13:38:50 2006 for Cinelerra-svn by  doxygen 1.4.4