1 #ifndef PLAYBACKCONFIG_H
2 #define PLAYBACKCONFIG_H
4 #include "audiodevice.inc"
5 #include "bcwindowbase.inc"
7 #include "playbackconfig.inc"
9 // This structure is passed to the driver for configuration during playback
13 AudioOutConfig(int duplex
);
16 int operator!=(AudioOutConfig
&that
);
17 int operator==(AudioOutConfig
&that
);
18 AudioOutConfig
& operator=(AudioOutConfig
&that
);
19 void copy_from(AudioOutConfig
*src
);
20 int load_defaults(BC_Hash
*defaults
);
21 int save_defaults(BC_Hash
*defaults
);
26 // Offset for synchronization in seconds
29 // Change default titles for duplex
32 int oss_enable
[MAXDEVICES
];
33 char oss_out_device
[MAXDEVICES
][BCTEXTLEN
];
38 char esound_out_server
[BCTEXTLEN
];
42 char alsa_out_device
[BCTEXTLEN
];
44 int interrupt_workaround
;
50 char firewire_path
[BCTEXTLEN
];
58 char dv1394_path
[BCTEXTLEN
];
62 // This structure is passed to the driver
69 int operator!=(VideoOutConfig
&that
);
70 int operator==(VideoOutConfig
&that
);
71 VideoOutConfig
& operator=(VideoOutConfig
&that
);
72 void copy_from(VideoOutConfig
*src
);
73 int load_defaults(BC_Hash
*defaults
);
74 int save_defaults(BC_Hash
*defaults
);
78 char lml_out_device
[BCTEXTLEN
];
79 char buz_out_device
[BCTEXTLEN
];
80 // Entry in the buz channel table
85 char x11_host
[BCTEXTLEN
];
87 // Values for x11_use_fields
105 int firewire_channel
;
107 char firewire_path
[BCTEXTLEN
];
113 char dv1394_path
[BCTEXTLEN
];
123 PlaybackConfig
& operator=(PlaybackConfig
&that
);
124 void copy_from(PlaybackConfig
*src
);
125 int load_defaults(BC_Hash
*defaults
);
126 int save_defaults(BC_Hash
*defaults
);
128 char hostname
[BCTEXTLEN
];
131 AudioOutConfig
*aconfig
;
132 VideoOutConfig
*vconfig
;