r668: Configure.in and autogen.sh cleanup based on ideas by giskard.
[cinelerra_cv.git] / cinelerra / audioconfig.h
blob2554bac9a6a479fa704e4be9d387fb59865755d8
1 #ifndef AUDIOCONFIG_H
2 #define AUDIOCONFIG_H
4 #include "defaults.inc"
6 // OSS requires specific channel and bitrate settings for full duplex
8 class AudioConfig
10 public:
11 AudioConfig();
12 ~AudioConfig();
14 AudioConfig& operator=(AudioConfig &that);
15 int load_defaults(Defaults *defaults);
16 int save_defaults(Defaults *defaults);
18 // Input
19 int audio_in_driver;
20 char oss_in_device[1024];
21 int oss_in_channels;
22 int oss_in_bits;
23 int afirewire_in_port, afirewire_in_channel;
24 char esound_in_server[1024];
25 int esound_in_port;
27 // Output
28 int audio_out_driver;
29 char oss_out_device[1024];
30 char esound_out_server[1024];
31 int esound_out_port;
32 int oss_out_channels;
33 int oss_out_bits;
36 // Duplex
37 int audio_duplex_driver;
38 char oss_duplex_device[1024];
39 char esound_duplex_server[1024];
40 int esound_duplex_port;
41 int oss_duplex_channels;
42 int oss_duplex_bits;
45 #endif