r827: Fix a crash when no audio output device can be opened.
[cinelerra_cv.git] / cinelerra / fileformat.h
blobfa6720d5e09b5b6ea7a5c09dafdca2d6190d13b2
1 #ifndef FILEFORMAT_H
2 #define FILEFORMAT_H
4 #include "guicast.h"
6 class FileFormatByteOrderLOHI;
7 class FileFormatByteOrderHILO;
8 class FileFormatSigned;
9 class FileFormatHeader;
10 class FileFormatRate;
11 class FileFormatChannels;
12 class FileFormatBits;
14 #include "asset.inc"
15 #include "assets.inc"
16 #include "bitspopup.inc"
17 #include "file.inc"
18 #include "mwindow.inc"
19 #include "mwindowgui.inc"
21 class FileFormat : public BC_Window
23 public:
24 FileFormat(MWindow *mwindow);
25 ~FileFormat();
27 int create_objects(Asset *asset, char *string2);
29 int create_objects_(char *string2);
31 Asset *asset;
33 BitsPopup *bitspopup;
34 FileFormatByteOrderLOHI *lohi;
35 FileFormatByteOrderHILO *hilo;
36 FileFormatSigned *signed_button;
37 FileFormatHeader *header_button;
38 FileFormatRate *rate_button;
39 FileFormatChannels *channels_button;
40 MWindow *mwindow;
43 class FileFormatChannels : public BC_TumbleTextBox
45 public:
46 FileFormatChannels(int x, int y, FileFormat *fwindow, char *text);
48 int handle_event();
50 FileFormat *fwindow;
53 class FileFormatRate : public BC_TextBox
55 public:
56 FileFormatRate(int x, int y, FileFormat *fwindow, char *text);
58 int handle_event();
60 FileFormat *fwindow;
63 class FileFormatHeader : public BC_TextBox
65 public:
66 FileFormatHeader(int x, int y, FileFormat *fwindow, char *text);
68 int handle_event();
70 FileFormat *fwindow;
73 class FileFormatByteOrderLOHI : public BC_Radial
75 public:
76 FileFormatByteOrderLOHI(int x, int y, FileFormat *fwindow, int value);
78 int handle_event();
80 FileFormat *fwindow;
83 class FileFormatByteOrderHILO : public BC_Radial
85 public:
86 FileFormatByteOrderHILO(int x, int y, FileFormat *fwindow, int value);
88 int handle_event();
90 FileFormat *fwindow;
93 class FileFormatSigned : public BC_CheckBox
95 public:
96 FileFormatSigned(int x, int y, FileFormat *fwindow, int value);
98 int handle_event();
100 FileFormat *fwindow;
103 #endif