#include <audio1394.h>
Inherits AudioLowLevel.

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 |
Definition at line 15 of file audio1394.h.
| Audio1394::Audio1394 | ( | AudioDevice * | device | ) |
Definition at line 14 of file audio1394.C.
References initialize().

| Audio1394::~Audio1394 | ( | ) |
Definition at line 21 of file audio1394.C.
References close_all().

| 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] |
Reimplemented from AudioLowLevel.
Definition at line 34 of file audio1394.C.
References bytes_per_sample, AudioLowLevel::device, AudioDevice::driver, AudioInConfig::firewire_channel, AudioInConfig::firewire_path, AudioInConfig::firewire_port, VideoInConfig::h, AudioDevice::in_bits, AudioDevice::in_channels, AudioDevice::in_config, AudioDevice::in_samplerate, input_iec, input_thread, AudioDevice::vconfig, and VideoInConfig::w.
| int Audio1394::open_output | ( | ) | [virtual] |
Reimplemented from AudioLowLevel.
Definition at line 87 of file audio1394.C.
References bytes_per_sample, AudioLowLevel::device, AudioDevice::driver, AudioOutConfig::dv1394_channel, AudioOutConfig::dv1394_path, AudioOutConfig::dv1394_port, AudioOutConfig::dv1394_syt, AudioOutConfig::firewire_channel, AudioOutConfig::firewire_path, AudioOutConfig::firewire_port, AudioOutConfig::firewire_syt, AudioDevice::out_bits, AudioDevice::out_channels, AudioDevice::out_config, AudioDevice::out_samplerate, output_iec, and output_thread.
| 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().

| 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.
friend class VDevice1394 [friend] |
Definition at line 22 of file audio1394.h.
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] |
Definition at line 38 of file audio1394.h.
Referenced by close_all(), device_position(), flush_device(), initialize(), interrupt_playback(), VDevice1394::open_output(), open_output(), and write_buffer().
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 40 of file audio1394.h.
Referenced by close_all(), device_position(), flush_device(), initialize(), interrupt_playback(), VDevice1394::open_output(), open_output(), and write_buffer().
int Audio1394::bytes_per_sample [private] |
Definition at line 41 of file audio1394.h.
Referenced by open_input(), open_output(), read_buffer(), and write_buffer().
1.5.5