pcmaudio: bugfix corrupted audio, loop mode, adjust examples

This commit is contained in:
slederer 2026-01-02 22:56:39 +01:00
parent 79baf3cef5
commit 11814cd24f
5 changed files with 363 additions and 46 deletions

View file

@ -2,6 +2,6 @@ type SndBuf = string[32768];
type SndBufPtr = ^SndBuf;
procedure PlaySample(buf:SndBufPtr;sampleRate:integer); external;
procedure SampleQStart(buf:SndBufPtr;sampleRate:integer); external;
procedure SampleQStart(buf:SndBufPtr;loop:boolean;sampleRate:integer); external;
procedure SampleQStop; external;
function SampleQSize:integer; external;