Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / audioconfig.h
blob8ee101e649c7efa7a04635f884f6bdb2785a0787
1 #ifndef AUDIOCONFIG_H
2 #define AUDIOCONFIG_H
4 #include "bchash.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(BC_Hash *defaults);
16 int save_defaults(BC_Hash *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
47 // Local Variables:
48 // mode: C++
49 // c-file-style: "linux"
50 // End: