r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / audio1394.h
blobaf53100276ced3e08ae70719393b6ad9566f8af9
1 #ifndef AUDIO1394_H
2 #define AUDIO1394_H
4 #include "audiodevice.h"
5 #include "device1394input.inc"
6 #include "device1394output.inc"
9 #ifdef HAVE_FIREWIRE
11 #include "libdv.h"
13 class Audio1394 : public AudioLowLevel
15 public:
16 Audio1394(AudioDevice *device);
17 ~Audio1394();
19 int initialize();
21 int open_input();
22 int open_output();
23 int close_all();
24 int read_buffer(char *buffer, int bytes);
25 int write_buffer(char *buffer, int bytes);
26 int64_t device_position();
27 int flush_device();
28 int interrupt_playback();
29 Device1394Input *input_thread;
30 Device1394Output *output_thread;
33 private:
34 int bytes_per_sample;
37 #endif
41 #endif