Audio1394 Class Reference

#include <audio1394.h>

Inherits AudioLowLevel.

Collaboration diagram for Audio1394:

Collaboration graph
[legend]

Public Member Functions

 Audio1394 (AudioDevice *device)
 ~Audio1394 ()
int initialize ()
int open_input ()
int open_output ()
int close_all ()
int read_buffer (char *buffer, int bytes)
int write_buffer (char *buffer, int bytes)
int64_t device_position ()
int flush_device ()
int interrupt_playback ()

Private Attributes

Device1394Input * input_thread
Device1394Output * output_thread
IEC61883Input * input_iec
IEC61883Output * output_iec
int bytes_per_sample

Friends

class VDevice1394

Detailed Description

Definition at line 15 of file audio1394.h.


Constructor & Destructor Documentation

Audio1394::Audio1394 ( AudioDevice device  ) 

Definition at line 14 of file audio1394.C.

References initialize().

Here is the call graph for this function:

Audio1394::~Audio1394 (  ) 

Definition at line 21 of file audio1394.C.

References close_all().

Here is the call graph for this function:


Member Function Documentation

int Audio1394::initialize (  ) 

Definition at line 26 of file audio1394.C.

References input_iec, input_thread, output_iec, and output_thread.

Referenced by Audio1394(), and close_all().

int Audio1394::open_input (  )  [virtual]

int Audio1394::open_output (  )  [virtual]

int Audio1394::close_all (  )  [virtual]

Reimplemented from AudioLowLevel.

Definition at line 137 of file audio1394.C.

References initialize(), input_iec, input_thread, output_iec, and output_thread.

Referenced by ~Audio1394().

Here is the call graph for this function:

int Audio1394::read_buffer ( char *  buffer,
int  bytes 
) [virtual]

Reimplemented from AudioLowLevel.

Definition at line 156 of file audio1394.C.

References bytes_per_sample, input_iec, and input_thread.

int Audio1394::write_buffer ( char *  buffer,
int  bytes 
) [virtual]

Reimplemented from AudioLowLevel.

Definition at line 171 of file audio1394.C.

References bytes_per_sample, output_iec, and output_thread.

int64_t Audio1394::device_position (  )  [virtual]

Reimplemented from AudioLowLevel.

Definition at line 181 of file audio1394.C.

References output_iec, and output_thread.

int Audio1394::flush_device (  )  [virtual]

Reimplemented from AudioLowLevel.

Definition at line 193 of file audio1394.C.

References output_iec, and output_thread.

int Audio1394::interrupt_playback (  )  [virtual]

Reimplemented from AudioLowLevel.

Definition at line 203 of file audio1394.C.

References output_iec, and output_thread.


Friends And Related Function Documentation

friend class VDevice1394 [friend]

Definition at line 22 of file audio1394.h.


Field Documentation

Device1394Input* Audio1394::input_thread [private]

Definition at line 37 of file audio1394.h.

Referenced by close_all(), initialize(), VDevice1394::open_input(), open_input(), and read_buffer().

Device1394Output* Audio1394::output_thread [private]

IEC61883Input* Audio1394::input_iec [private]

Definition at line 39 of file audio1394.h.

Referenced by close_all(), initialize(), VDevice1394::open_input(), open_input(), and read_buffer().

IEC61883Output* Audio1394::output_iec [private]

Definition at line 41 of file audio1394.h.

Referenced by open_input(), open_output(), read_buffer(), and write_buffer().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:11:08 2008 for Cinelerra by  doxygen 1.5.5