pcmaudio: add routine/external procedure to read sample file
This commit is contained in:
parent
819c808c50
commit
0d9db023a1
3 changed files with 23 additions and 9 deletions
|
|
@ -1,6 +1,7 @@
|
|||
type SndBuf = string[32768];
|
||||
type SndBufPtr = ^SndBuf;
|
||||
|
||||
procedure ReadSample(aFile:file;buf:SndBufPtr); external;
|
||||
procedure PlaySample(buf:SndBufPtr;sampleRate:integer); external;
|
||||
procedure SampleQStart(buf:SndBufPtr;loop:boolean;sampleRate:integer); external;
|
||||
procedure SampleQStop; external;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue