r956: README.BUILD - add more library recommendations
[cinelerra_cv/ct.git] / cinelerra / audio1394.h
blob87757a2d9db6f6a85472c69b0b0cc3cf6065ec8a
1 #ifndef AUDIO1394_H
2 #define AUDIO1394_H
4 #include "audiodevice.h"
5 #include "device1394input.inc"
6 #include "device1394output.inc"
7 #include "iec61883input.inc"
8 #include "iec61883output.inc"
9 #include "vdevice1394.inc"
13 #include "libdv.h"
15 class Audio1394 : public AudioLowLevel
17 public:
18 Audio1394(AudioDevice *device);
19 ~Audio1394();
22 friend class VDevice1394;
24 int initialize();
26 int open_input();
27 int open_output();
28 int close_all();
29 int read_buffer(char *buffer, int bytes);
30 int write_buffer(char *buffer, int bytes);
31 int64_t device_position();
32 int flush_device();
33 int interrupt_playback();
36 private:
37 Device1394Input *input_thread;
38 Device1394Output *output_thread;
39 IEC61883Input *input_iec;
40 IEC61883Output *output_iec;
41 int bytes_per_sample;
44 #endif