5 #include <ffmpeg/avcodec.h>
10 class FileAC3
: public FileBase
13 FileAC3(Asset
*asset
, File
*file
);
16 int reset_parameters_derived();
17 static void get_parameters(BC_WindowBase
*parent_window
,
19 BC_WindowBase
* &format_window
,
22 static int check_sig();
23 int open_file(int rd
, int wr
);
25 int write_samples(double **buffer
, int64_t len
);
29 AVCodecContext
*codec_context
;
32 int temp_raw_allocated
;
34 unsigned char *temp_compressed
;
35 int compressed_allocated
;
40 class AC3ConfigAudio
: public BC_Window
43 AC3ConfigAudio(BC_WindowBase
*parent_window
,
46 void create_objects();
50 BC_WindowBase
*parent_window
;
51 char string
[BCTEXTLEN
];
55 class AC3ConfigAudioBitrate
: public BC_PopupMenu
58 AC3ConfigAudioBitrate(AC3ConfigAudio
*gui
, int x
, int y
);
60 void create_objects();
62 static char* bitrate_to_string(char *string
, int bitrate
);