#include <cdripper.h>
Inherits PluginAClient.

Public Member Functions | |
| CDRipMain (PluginServer *server) | |
| ~CDRipMain () | |
| char * | plugin_title () |
| int | is_realtime () |
| int | is_multichannel () |
| int | get_parameters () |
| int | start_loop () |
| int | stop_loop () |
| int | process_loop (double **plugin_buffer, int64_t &write_length) |
| int | load_defaults () |
| int | save_defaults () |
| int | get_toc () |
| int | open_drive () |
| int | close_drive () |
Data Fields | |
| BC_Hash * | defaults |
| int | track1 |
| int | min1 |
| int | sec1 |
| int | track2 |
| int | min2 |
| int | sec2 |
| char | device [BCTEXTLEN] |
| int64_t | startlba |
| int64_t | endlba |
| int | cdrom |
| struct cdrom_read_audio | arg |
| int | FRAME |
| int | previewing |
| int64_t | fragment_length |
| int64_t | total_length |
| int | endofselection |
| int | i |
| int | j |
| int | k |
| int | l |
| int | attempts |
| int64_t | fragment_samples |
| int64_t | currentlength |
| int64_t | startlba_fragment |
| char * | buffer |
| int16_t * | buffer_channel |
| double * | output_buffer |
| MainProgressBar * | progress |
Definition at line 12 of file cdripper.h.
| CDRipMain::CDRipMain | ( | PluginServer * | server | ) |
Definition at line 25 of file cdripper.C.
References load_defaults().

| CDRipMain::~CDRipMain | ( | ) |
Definition at line 31 of file cdripper.C.
References defaults, and save_defaults().

| char * CDRipMain::plugin_title | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 37 of file cdripper.C.
References N_.
Referenced by start_loop().
| int CDRipMain::is_realtime | ( | ) | [virtual] |
| int CDRipMain::is_multichannel | ( | ) | [virtual] |
| int CDRipMain::get_parameters | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 80 of file cdripper.C.
References BC_DisplayInfo::get_abs_cursor_x(), BC_DisplayInfo::get_abs_cursor_y(), get_toc(), PluginAClient::sample_rate, and window.

| int CDRipMain::start_loop | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 246 of file cdripper.C.
References arg, BCTEXTLEN, buffer, currentlength, endlba, endofselection, fragment_length, FRAME, FRAMESIZE, get_toc(), PluginClient::in_buffer_size, PluginClient::interactive, NFRAMES, open_drive(), plugin_title(), previewing, progress, PluginClient::start_progress(), startlba, startlba_fragment, and total_length.

| int CDRipMain::stop_loop | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 285 of file cdripper.C.
References buffer, close_drive(), PluginClient::interactive, progress, and MainProgressBar::stop_progress().

| int CDRipMain::process_loop | ( | double ** | plugin_buffer, | |
| int64_t & | write_length | |||
| ) | [virtual] |
Reimplemented from PluginAClient.
Definition at line 298 of file cdripper.C.
References arg, attempts, buffer, buffer_channel, cdrom, currentlength, endlba, endofselection, fragment_length, fragment_samples, FRAME, FRAMESIZE, i, PluginClient::interactive, j, k, l, NFRAMES, output_buffer, previewing, progress, startlba, PluginClient::total_in_buffers, and MainProgressBar::update().

| int CDRipMain::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 42 of file cdripper.C.
References BCASTDIR, defaults, device, endlba, BC_Hash::get(), BC_Hash::load(), min1, min2, sec1, sec2, startlba, track1, and track2.
Referenced by CDRipMain().

| int CDRipMain::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 65 of file cdripper.C.
References defaults, device, endlba, min1, min2, BC_Hash::save(), sec1, sec2, startlba, track1, track2, and BC_Hash::update().
Referenced by ~CDRipMain().

| int CDRipMain::get_toc | ( | ) |
Definition at line 130 of file cdripper.C.
References _, cdrom, close_drive(), endlba, FRAMESIZE, i, min1, min2, open_drive(), sec1, sec2, startlba, track1, track2, and window.
Referenced by get_parameters(), and start_loop().

| int CDRipMain::open_drive | ( | ) |
Definition at line 106 of file cdripper.C.
References _, cdrom, device, BC_DisplayInfo::get_abs_cursor_x(), BC_DisplayInfo::get_abs_cursor_y(), and window.
Referenced by get_toc(), and start_loop().

| int CDRipMain::close_drive | ( | ) |
Definition at line 123 of file cdripper.C.
References cdrom.
Referenced by get_toc(), and stop_loop().
Definition at line 28 of file cdripper.h.
Referenced by load_defaults(), save_defaults(), and ~CDRipMain().
Definition at line 31 of file cdripper.h.
Referenced by CDRipWindow::create_objects(), get_toc(), load_defaults(), and save_defaults().
| int CDRipMain::min1 |
Definition at line 31 of file cdripper.h.
Referenced by CDRipWindow::create_objects(), get_toc(), load_defaults(), and save_defaults().
| int CDRipMain::sec1 |
Definition at line 31 of file cdripper.h.
Referenced by CDRipWindow::create_objects(), get_toc(), load_defaults(), and save_defaults().
Definition at line 31 of file cdripper.h.
Referenced by CDRipWindow::create_objects(), get_toc(), load_defaults(), and save_defaults().
| int CDRipMain::min2 |
Definition at line 31 of file cdripper.h.
Referenced by CDRipWindow::create_objects(), get_toc(), load_defaults(), and save_defaults().
| int CDRipMain::sec2 |
Definition at line 31 of file cdripper.h.
Referenced by CDRipWindow::create_objects(), get_toc(), load_defaults(), and save_defaults().
| char CDRipMain::device[BCTEXTLEN] |
Definition at line 32 of file cdripper.h.
Referenced by CDRipWindow::create_objects(), load_defaults(), open_drive(), and save_defaults().
| int64_t CDRipMain::startlba |
Definition at line 33 of file cdripper.h.
Referenced by get_toc(), load_defaults(), process_loop(), save_defaults(), and start_loop().
| int64_t CDRipMain::endlba |
Definition at line 33 of file cdripper.h.
Referenced by get_toc(), load_defaults(), process_loop(), save_defaults(), and start_loop().
| int CDRipMain::cdrom |
Definition at line 34 of file cdripper.h.
Referenced by close_drive(), get_toc(), open_drive(), and process_loop().
struct cdrom_read_audio CDRipMain::arg [read] |
| int CDRipMain::FRAME |
| int64_t CDRipMain::fragment_length |
| int64_t CDRipMain::total_length |
| int CDRipMain::i |
| int CDRipMain::j |
| int CDRipMain::k |
| int CDRipMain::l |
| int64_t CDRipMain::fragment_samples |
| int64_t CDRipMain::currentlength |
| int64_t CDRipMain::startlba_fragment |
| char* CDRipMain::buffer |
Definition at line 50 of file cdripper.h.
Referenced by process_loop(), start_loop(), and stop_loop().
| int16_t* CDRipMain::buffer_channel |
| double* CDRipMain::output_buffer |
Definition at line 53 of file cdripper.h.
Referenced by process_loop(), start_loop(), and stop_loop().
1.5.5