Mercurial > foo_out_sdl
comparison foosdk/sdk/foobar2000/helpers/input_helper_cue.h @ 1:20d02a178406 default tip
*: check in everything else
yay
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 05 Jan 2026 02:15:46 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:e9bb126753e7 | 1:20d02a178406 |
|---|---|
| 1 #pragma once | |
| 2 | |
| 3 #include "input_helpers.h" | |
| 4 | |
| 5 | |
| 6 class input_helper_cue { | |
| 7 public: | |
| 8 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 binary = false); | |
| 9 static void get_info_binary( const char * path, file_info & out, abort_callback & abort ); | |
| 10 | |
| 11 void close(); | |
| 12 bool is_open(); | |
| 13 bool run(audio_chunk & p_chunk,abort_callback & p_abort); | |
| 14 bool run_raw(audio_chunk & p_chunk, mem_block_container & p_raw, abort_callback & p_abort); | |
| 15 void seek(double seconds,abort_callback & p_abort); | |
| 16 bool can_seek(); | |
| 17 void on_idle(abort_callback & p_abort); | |
| 18 bool get_dynamic_info(file_info & p_out,double & p_timestamp_delta); | |
| 19 bool get_dynamic_info_track(file_info & p_out,double & p_timestamp_delta); | |
| 20 void set_logger(event_logger::ptr ptr) {m_input.set_logger(ptr);} | |
| 21 | |
| 22 const char * get_path() const; | |
| 23 | |
| 24 void get_info(t_uint32 p_subsong,file_info & p_info,abort_callback & p_abort); | |
| 25 | |
| 26 private: | |
| 27 bool _run(audio_chunk & p_chunk, mem_block_container * p_raw, abort_callback & p_abort); | |
| 28 bool _m_input_run(audio_chunk & p_chunk, mem_block_container * p_raw, abort_callback & p_abort); | |
| 29 input_helper m_input; | |
| 30 double m_start,m_length,m_position; | |
| 31 bool m_dynamic_info_trigger,m_dynamic_info_track_trigger; | |
| 32 }; |
