update goals file
This commit is contained in:
parent
f756c70c1c
commit
29799820e2
3 changed files with 12 additions and 6 deletions
|
@ -4,13 +4,15 @@
|
|||
|
||||
- .SHW (ProgramBlue) input format
|
||||
- .3ST/.R12/.C&R (APS) input format
|
||||
- Biphase (Pianocorder and Cyberstar) from tape input format (unlikely)
|
||||
- Biphase (Pianocorder and Cyberstar) from tape input format
|
||||
- Studio C from Floppy Disk input format
|
||||
- UST Full Stage to Single Character Stripper
|
||||
|
||||
## PC2Player
|
||||
|
||||
- Make the program.
|
||||
- ~~make the program~~ done!!
|
||||
- fix memory leak issue
|
||||
- make audio player work on windows
|
||||
|
||||
## Firmwares
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace PinkConnection2_TestApp
|
|||
SerialPort port = null;
|
||||
byte b = 0;
|
||||
|
||||
TextBox CommandTextBox = new TextBox { MaxLength = 2 };
|
||||
TextBox CommandTextBox = new TextBox { MaxLength = 8 };
|
||||
DropDown SerialPortDropDown = new DropDown();
|
||||
|
||||
public MainForm()
|
||||
|
@ -92,9 +92,9 @@ namespace PinkConnection2_TestApp
|
|||
|
||||
void sendRawSafe()
|
||||
{
|
||||
if (CommandTextBox.Text.Length != 2)
|
||||
if (CommandTextBox.Text.Length != 8)
|
||||
{
|
||||
MessageBox.Show("Command length must not be less than 2");
|
||||
MessageBox.Show("Command length must not be less than 8");
|
||||
return;
|
||||
}
|
||||
if (port == null)
|
||||
|
|
|
@ -21,6 +21,8 @@ namespace PC2Player
|
|||
byte[] AudioData;
|
||||
Process MPVProcess;
|
||||
|
||||
int SkipSeconds = 0;
|
||||
|
||||
string ShowtapeName = "";
|
||||
string ShowtapeStageType = "";
|
||||
string ShowtapeCharacter = "";
|
||||
|
@ -69,7 +71,7 @@ namespace PC2Player
|
|||
|
||||
MPVProcess = new Process();
|
||||
MPVProcess.StartInfo.FileName = "mpv";
|
||||
MPVProcess.StartInfo.Arguments = "tmp.wav";
|
||||
MPVProcess.StartInfo.Arguments = $"--start={SkipSeconds} tmp.wav";
|
||||
|
||||
FrameTimer = new System.Timers.Timer((1000d/60d)*FrameSkip);
|
||||
FrameTimer.Elapsed += Event_FrameTimerTick;
|
||||
|
@ -264,6 +266,8 @@ namespace PC2Player
|
|||
return;
|
||||
}
|
||||
File.WriteAllBytes("tmp.wav", AudioData);
|
||||
Index = SkipSeconds*60;
|
||||
MPVProcess.StartInfo.Arguments = $"--start={SkipSeconds} tmp.wav";
|
||||
MPVProcess.Start();
|
||||
FrameTimer.Start();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue