コード例 #1
0
ファイル: kc_cas.cpp プロジェクト: MASHinfo/mame
/*******************************************************************
   Calculate the number of samples needed for this tape image classical
********************************************************************/
static int kc_tap_to_wav_size(const uint8_t *casdata, int caslen)
{
	kc_image_size = caslen ;

	return kc_handle_tap( nullptr, casdata );
}
コード例 #2
0
ファイル: kc_cas.c プロジェクト: MisterTea/MAMEHub
/*******************************************************************
   Calculate the number of samples needed for this tape image classical
********************************************************************/
static int kc_tap_to_wav_size(const UINT8 *casdata, int caslen)
{
	kc_image_size = caslen ;

	return kc_handle_tap( NULL, casdata );
}
コード例 #3
0
ファイル: kc_cas.cpp プロジェクト: MASHinfo/mame
/*******************************************************************
   Generate samples for the tape image
********************************************************************/
static int kc_tap_fill_wave(int16_t *buffer, int sample_count, uint8_t *bytes)
{
	return kc_handle_tap(buffer, bytes);
}
コード例 #4
0
ファイル: kc_cas.c プロジェクト: MisterTea/MAMEHub
/*******************************************************************
   Generate samples for the tape image
********************************************************************/
static int kc_tap_fill_wave(INT16 *buffer, int sample_count, UINT8 *bytes)
{
	return kc_handle_tap(buffer, bytes);
}