#include <input_helpers.h>
|
bool | can_seek () |
|
void | close () |
|
bool | get_dynamic_info (file_info &p_out, double &p_timestamp_delta) |
|
bool | get_dynamic_info_track (file_info &p_out, double &p_timestamp_delta) |
|
void | get_info (t_uint32 p_subsong, file_info &p_info, abort_callback &p_abort) |
|
const char * | get_path () const |
|
bool | is_open () |
|
void | on_idle (abort_callback &p_abort) |
|
void | open (service_ptr_t< file > p_filehint, const playable_location &p_location, unsigned p_flags, abort_callback &p_abort, double p_start, double p_length) |
|
bool | run (audio_chunk &p_chunk, abort_callback &p_abort) |
|
bool | run_raw (audio_chunk &p_chunk, mem_block_container &p_raw, abort_callback &p_abort) |
|
void | seek (double seconds, abort_callback &p_abort) |
|
void | set_full_buffer (t_filesize val) |
|
void | set_logger (event_logger::ptr ptr) |
|
Definition at line 90 of file input_helpers.h.
Definition at line 316 of file input_helpers.cpp.
322 if (!
_m_input_run(p_chunk, p_raw, p_abort))
return false;
340 PFC_ASSERT( rawSize % samples == 0 );
353 if (!
_m_input_run(p_chunk, p_raw, p_abort))
return false;
virtual void set_size(t_size p_size)=0
unsigned get_sample_rate() const
Helper, same as get_srate().
double get_duration() const
Retrieves duration of contained audio data, in seconds.
virtual t_size get_sample_count() const =0
Retrieves number of valid samples in the buffer. Note that a "sample" means a unit of interleaved PC...
virtual void set_sample_count(t_size val)=0
Sets number of valid samples in the buffer. WARNING: sample count * channel count should never be abo...
virtual t_size get_size() const =0
bool input_helper_cue::can_seek |
( |
| ) |
|
void input_helper_cue::close |
( |
| ) |
|
bool input_helper_cue::get_dynamic_info |
( |
file_info & |
p_out, |
|
|
double & |
p_timestamp_delta |
|
) |
| |
bool input_helper_cue::get_dynamic_info_track |
( |
file_info & |
p_out, |
|
|
double & |
p_timestamp_delta |
|
) |
| |
const char * input_helper_cue::get_path |
( |
| ) |
const |
bool input_helper_cue::is_open |
( |
| ) |
|
Definition at line 278 of file input_helpers.cpp.
286 m_input.
open(p_filehint,p_location,p_flags,p_abort,
true,
true);
300 if (ref_length <= 0)
throw exception_io_data();
302 if (
m_length <= 0)
throw exception_io_data();
double get_length() const
Retrieves audio duration, in seconds. Note that the reported duration should not be assumed to be th...
void input_helper_cue::seek |
( |
double |
seconds, |
|
|
abort_callback & |
p_abort |
|
) |
| |
void input_helper_cue::set_full_buffer |
( |
t_filesize |
val | ) |
|
void input_helper_cue::set_logger |
( |
event_logger::ptr |
ptr | ) |
|
|
inline |
bool input_helper_cue::m_dynamic_info_track_trigger |
|
private |
bool input_helper_cue::m_dynamic_info_trigger |
|
private |
double input_helper_cue::m_length |
|
private |
double input_helper_cue::m_position |
|
private |
double input_helper_cue::m_start |
|
private |
The documentation for this class was generated from the following files: