1 PFC_DECLARE_EXCEPTION(exception_tagging_unsupported, exception_io_data,
"Tagging of this file format is not supported")
4 input_flag_no_seeking = 1 << 0,
5 input_flag_no_looping = 1 << 1,
6 input_flag_playback = 1 << 2,
7 input_flag_testing_integrity = 1 << 3,
8 input_flag_allow_inaccurate_seeking = 1 << 4,
9 input_flag_no_postproc = 1 << 5,
11 input_flag_simpledecode = input_flag_no_seeking|input_flag_no_looping,
23 virtual t_uint32 get_subsong_count() = 0;
72 virtual bool can_seek() = 0;
78 virtual bool get_dynamic_info(
file_info & p_out,
double & p_timestamp_delta) = 0;
84 virtual bool get_dynamic_info_track(
file_info & p_out,
double & p_timestamp_delta) = 0;
107 virtual void set_logger(event_logger::ptr ptr) = 0;
114 virtual void set_pause(
bool paused) = 0;
116 virtual bool flush_on_pause() = 0;
152 virtual bool is_our_content_type(
const char * p_type)=0;
157 virtual bool is_our_path(
const char * p_full_path,
const char * p_extension)=0;
187 flag_parallel_reads_slow = 2,
190 virtual unsigned get_flags() = 0;
192 inline bool is_redirect() {
return (get_flags() & flag_redirect) != 0;}
202 static bool g_is_supported_path(
const char * p_path);
209 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(
input_entry);
void open(service_ptr_t< input_info_reader > &p_instance, service_ptr_t< file > const &p_filehint, const char *p_path, abort_callback &p_abort)
void seek(HANDLE p_handle, t_sfilesize p_position, file::t_seek_mode p_mode)
void open(service_ptr_t< input_info_writer > &p_instance, service_ptr_t< file > const &p_filehint, const char *p_path, abort_callback &p_abort)
void open(service_ptr_t< input_decoder > &p_instance, service_ptr_t< file > const &p_filehint, const char *p_path, abort_callback &p_abort)
Interface to container of a chunk of audio data. See audio_chunk_impl for an implementation.
Main interface class for information about some playable object.
bool are_parallel_reads_slow()
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Generic interface for a memory block; used by various other interfaces to return memory blocks while ...