File: TZXBlockTurboSpeedData.h

package info (click to toggle)
ares 134%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 34,680 kB
  • sloc: cpp: 338,717; ansic: 89,036; sh: 52; makefile: 27
file content (27 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "TZXBlock.h"

class TZXBlockTurboSpeedData :
	public TZXBlock
{
public:
	unsigned short m_nPilotPulse; // Length of pulse
	unsigned short m_nFirstSyncPulse;
	unsigned short m_nSecondSyncPulse;
	unsigned short m_nZeroBitPulse;
	unsigned short m_nOneBitPulse;
	unsigned short m_nPilotCount; // Repititions of pulse
	unsigned char m_nBitsInLastByte;
	unsigned short m_nDelayAfterBlock;
	unsigned int m_nDataLength;
	unsigned char *m_pData;


public:
	TZXBlockTurboSpeedData();
	~TZXBlockTurboSpeedData();

	char *GetDescription();
	void GenerateAudio(TZXAudioGenerator *pAudioGenerator, TZXFile *pTZXFile);
};