#include <atrack.h>
Inherits Track.

Public Member Functions | |
| ATrack (EDL *edl, Tracks *tracks) | |
| ATrack () | |
| ~ATrack () | |
| int | create_objects () |
| int | load_defaults (BC_Hash *defaults) |
| void | set_default_title () |
| PluginSet * | new_plugins () |
| int | vertical_span (Theme *theme) |
| int | save_header (FileXML *file) |
| int | save_derived (FileXML *file) |
| int | load_header (FileXML *file, uint32_t load_flags) |
| int | load_derived (FileXML *file, uint32_t load_flags) |
| int | copy_settings (Track *track) |
| int | identical (int64_t sample1, int64_t sample2) |
| void | synchronize_params (Track *track) |
| int64_t | to_units (double position, int round) |
| double | to_doubleunits (double position) |
| double | from_units (int64_t position) |
| int | create_derived_objs (int flash) |
| int | paste_derived (int64_t start, int64_t end, int64_t total_length, FileXML *xml, int ¤t_channel) |
| int | modify_handles (int64_t oldposition, int64_t newposition, int currentend) |
| int64_t | length () |
| int | get_dimensions (double &view_start, double &view_units, double &zoom_units) |
Definition at line 17 of file atrack.h.
| int ATrack::create_objects | ( | ) |
Reimplemented from Track.
Definition at line 80 of file atrack.C.
References Track::automation, Automation::create_objects(), Track::create_objects(), Track::edits, and Track::edl.
Referenced by Tracks::add_audio_track().

| int ATrack::load_defaults | ( | BC_Hash * | defaults | ) | [virtual] |
Reimplemented from Track.
Definition at line 105 of file atrack.C.
References Track::load_defaults().

| void ATrack::set_default_title | ( | ) |
Definition at line 111 of file atrack.C.
References _, Track::data_type, NEXT, Track::title, and TRACK_AUDIO.
Referenced by Tracks::add_audio_track().
| PluginSet * ATrack::new_plugins | ( | ) | [virtual] |
| int ATrack::vertical_span | ( | Theme * | theme | ) | [virtual] |
Reimplemented from Track.
Definition at line 89 of file atrack.C.
References Track::expand_view, Theme::fade_h, MAX, Theme::meter_h, Theme::pan_h, Theme::play_h, Theme::title_h, Track::track_h, and Track::vertical_span().

| int ATrack::save_header | ( | FileXML * | file | ) | [virtual] |
Reimplemented from Track.
Definition at line 56 of file atrack.C.
References XMLTag::set_property(), and FileXML::tag.

| int ATrack::save_derived | ( | FileXML * | file | ) | [virtual] |
Reimplemented from Track.
Definition at line 62 of file atrack.C.
References FileXML::append_newline(), and BCTEXTLEN.

| int ATrack::load_header | ( | FileXML * | file, | |
| uint32_t | load_flags | |||
| ) | [virtual] |
| int ATrack::load_derived | ( | FileXML * | file, | |
| uint32_t | load_flags | |||
| ) | [virtual] |
| int ATrack::copy_settings | ( | Track * | track | ) | [virtual] |
Reimplemented from Track.
Definition at line 47 of file atrack.C.
References Track::copy_settings().

| int ATrack::identical | ( | int64_t | sample1, | |
| int64_t | sample2 | |||
| ) | [virtual] |
| void ATrack::synchronize_params | ( | Track * | track | ) | [virtual] |
Reimplemented from Track.
Definition at line 40 of file atrack.C.
References Track::synchronize_params().

| int64_t ATrack::to_units | ( | double | position, | |
| int | round | |||
| ) | [virtual] |
Reimplemented from Track.
Definition at line 122 of file atrack.C.
References Track::edl, Units::round(), EDLSession::sample_rate, EDL::session, and Units::to_int64().
Referenced by APanPatch::get_keyframe(), AFadePatch::get_keyframe(), and APatchGUI::update().

| double ATrack::to_doubleunits | ( | double | position | ) | [virtual] |
Reimplemented from Track.
Definition at line 130 of file atrack.C.
References Track::edl, EDLSession::sample_rate, and EDL::session.
| double ATrack::from_units | ( | int64_t | position | ) | [virtual] |
Reimplemented from Track.
Definition at line 135 of file atrack.C.
References Track::edl, EDLSession::sample_rate, and EDL::session.
| int ATrack::create_derived_objs | ( | int | flash | ) |
| int ATrack::paste_derived | ( | int64_t | start, | |
| int64_t | end, | |||
| int64_t | total_length, | |||
| FileXML * | xml, | |||
| int & | current_channel | |||
| ) | [virtual] |
Reimplemented from Track.
Definition at line 191 of file atrack.C.
References XMLTag::get_property(), XMLTag::get_title(), and FileXML::tag.

| int ATrack::modify_handles | ( | int64_t | oldposition, | |
| int64_t | newposition, | |||
| int | currentend | |||
| ) |
| int64_t ATrack::length | ( | ) |
Definition at line 170 of file atrack.C.
References Track::edits, and Edits::length().

| int ATrack::get_dimensions | ( | double & | view_start, | |
| double & | view_units, | |||
| double & | zoom_units | |||
| ) | [virtual] |
Reimplemented from Track.
Definition at line 175 of file atrack.C.
References Track::edl, EDL::local_session, EDLSession::sample_rate, EDL::session, LocalSession::view_start, and LocalSession::zoom_sample.
1.5.5