/******************************************************************* Calculate the number of samples needed for this tape image classical ********************************************************************/ static int hector_tap_to_wav_size(const UINT8 *casdata, int caslen) { cas_size = caslen ; return hector_handle_tap( NULL, casdata );//forth removed here !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! }
/******************************************************************* Calculate the number of samples needed for this tape image classical ********************************************************************/ static int hector_tap_to_wav_size(const uint8_t *casdata, int caslen) { cas_size = caslen ; return hector_handle_tap( nullptr, casdata );//forth removed here !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! }
/******************************************************************* Generate samples for the tape image ********************************************************************/ static int hector_tap_fill_wave(INT16 *buffer, int sample_count, UINT8 *bytes) { return hector_handle_tap( buffer, bytes ); }
/******************************************************************* Generate samples for the tape image ********************************************************************/ static int hector_tap_fill_wave(int16_t *buffer, int sample_count, uint8_t *bytes) { return hector_handle_tap( buffer, bytes ); }