foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
input_impl_interface_wrapper_t< I, t_base >

#include <input_impl.h>

+ Inheritance diagram for input_impl_interface_wrapper_t< I, t_base >:

Public Member Functions

bool can_seek ()
 
void commit (abort_callback &p_abort)
 
bool flush_on_pause ()
 
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)
 
t_filestats get_file_stats (abort_callback &p_abort)
 
void get_info (t_uint32 p_subsong, file_info &p_info, abort_callback &p_abort)
 
t_uint32 get_subsong (t_uint32 p_index)
 
t_uint32 get_subsong_count ()
 
void initialize (t_uint32 p_subsong, unsigned p_flags, abort_callback &p_abort)
 
void on_idle (abort_callback &p_abort)
 
void open (service_ptr_t< file > p_filehint, const char *p_path, t_input_open_reason p_reason, abort_callback &p_abort)
 
void remove_tags (abort_callback &p_abort)
 
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 p_seconds, abort_callback &p_abort)
 
void set_info (t_uint32 p_subsong, const file_info &p_info, abort_callback &p_abort)
 
void set_logger (event_logger::ptr ptr)
 
void set_pause (bool paused)
 

Private Attributes

m_instance
 

Detailed Description

template<typename I, typename t_base>
class input_impl_interface_wrapper_t< I, t_base >

Used internally by standard input_entry implementation; do not use directly. Translates input_decoder / input_info_reader / input_info_writer calls to input_impl calls.

Definition at line 128 of file input_impl.h.

Member Function Documentation

template<typename I , typename t_base >
bool input_impl_interface_wrapper_t< I, t_base >::can_seek ( )
inline

Definition at line 172 of file input_impl.h.

172  {
173  return m_instance.decode_can_seek();
174  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::commit ( abort_callback p_abort)
inline

Definition at line 206 of file input_impl.h.

206  {
207  m_instance.retag_commit(p_abort);
208  }
template<typename I , typename t_base >
bool input_impl_interface_wrapper_t< I, t_base >::flush_on_pause ( )
inline

Definition at line 195 of file input_impl.h.

195  {
196  return m_instance.flush_on_pause();
197  }
template<typename I , typename t_base >
bool input_impl_interface_wrapper_t< I, t_base >::get_dynamic_info ( file_info p_out,
double &  p_timestamp_delta 
)
inline

Definition at line 176 of file input_impl.h.

176  {
177  return m_instance.decode_get_dynamic_info(p_out,p_timestamp_delta);
178  }
template<typename I , typename t_base >
bool input_impl_interface_wrapper_t< I, t_base >::get_dynamic_info_track ( file_info p_out,
double &  p_timestamp_delta 
)
inline

Definition at line 180 of file input_impl.h.

180  {
181  return m_instance.decode_get_dynamic_info_track(p_out,p_timestamp_delta);
182  }
template<typename I , typename t_base >
t_filestats input_impl_interface_wrapper_t< I, t_base >::get_file_stats ( abort_callback p_abort)
inline

Definition at line 150 of file input_impl.h.

150  {
151  return m_instance.get_file_stats(p_abort);
152  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::get_info ( t_uint32  p_subsong,
file_info p_info,
abort_callback p_abort 
)
inline

Definition at line 146 of file input_impl.h.

146  {
147  m_instance.get_info(p_subsong,p_info,p_abort);
148  }
template<typename I , typename t_base >
t_uint32 input_impl_interface_wrapper_t< I, t_base >::get_subsong ( t_uint32  p_index)
inline

Definition at line 141 of file input_impl.h.

141  {
142  return m_instance.get_subsong(p_index);
143  }
template<typename I , typename t_base >
t_uint32 input_impl_interface_wrapper_t< I, t_base >::get_subsong_count ( )
inline

Definition at line 137 of file input_impl.h.

137  {
138  return m_instance.get_subsong_count();
139  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::initialize ( t_uint32  p_subsong,
unsigned  p_flags,
abort_callback p_abort 
)
inline

Definition at line 156 of file input_impl.h.

156  {
157  m_instance.decode_initialize(p_subsong,p_flags,p_abort);
158  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::on_idle ( abort_callback p_abort)
inline

Definition at line 184 of file input_impl.h.

184  {
185  m_instance.decode_on_idle(p_abort);
186  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::open ( service_ptr_t< file p_filehint,
const char *  p_path,
t_input_open_reason  p_reason,
abort_callback p_abort 
)
inline

Definition at line 131 of file input_impl.h.

131  {
132  m_instance.open(p_filehint,p_path,p_reason,p_abort);
133  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::remove_tags ( abort_callback p_abort)
inline

Definition at line 209 of file input_impl.h.

209  {
210  m_instance.remove_tags(p_abort);
211  }
template<typename I , typename t_base >
bool input_impl_interface_wrapper_t< I, t_base >::run ( audio_chunk p_chunk,
abort_callback p_abort 
)
inline

Definition at line 160 of file input_impl.h.

160  {
161  return m_instance.decode_run(p_chunk,p_abort);
162  }
template<typename I , typename t_base >
bool input_impl_interface_wrapper_t< I, t_base >::run_raw ( audio_chunk p_chunk,
mem_block_container p_raw,
abort_callback p_abort 
)
inline

Definition at line 164 of file input_impl.h.

164  {
165  return m_instance.decode_run_raw(p_chunk, p_raw, p_abort);
166  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::seek ( double  p_seconds,
abort_callback p_abort 
)
inline

Definition at line 168 of file input_impl.h.

168  {
169  m_instance.decode_seek(p_seconds,p_abort);
170  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::set_info ( t_uint32  p_subsong,
const file_info p_info,
abort_callback p_abort 
)
inline

Definition at line 202 of file input_impl.h.

202  {
203  m_instance.retag_set_info(p_subsong,p_info,p_abort);
204  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::set_logger ( event_logger::ptr  ptr)
inline

Definition at line 188 of file input_impl.h.

188  {
189  m_instance.set_logger(ptr);
190  }
template<typename I , typename t_base >
void input_impl_interface_wrapper_t< I, t_base >::set_pause ( bool  paused)
inline

Definition at line 192 of file input_impl.h.

192  {
193  m_instance.set_pause(paused);
194  }

Field Documentation

template<typename I , typename t_base >
I input_impl_interface_wrapper_t< I, t_base >::m_instance
private

Definition at line 214 of file input_impl.h.


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