Author Topic: speed of =BASS_RecordStart  (Read 208 times)

juelin

  • Posts: 6
speed of =BASS_RecordStart
« on: 4 Jun '24 - 20:31 »
Hello,
I'm wrtting a program which recording FAX Weatherpictures from satellit.
The boudrate is 120
I receive the audiosignal from my tranceiver (137,1 MHz FM).
My input is
              ChannelInput:=BASS_RecordStart(0,2,0,@RecordingCallback,nil);
the routine               ChannelInput:=BASS_RecordStart(0,2,0,@RecordingCallback,nil);
calls the BASS.dll ca. every 100ms.
But it is not enough.
It is possible to change the call of  RecordingCallback to 10ms?
kind regards
J├╝rgen



Ian @ un4seen

  • Administrator
  • Posts: 25866
Re: speed of =BASS_RecordStart
« Reply #1 on: 5 Jun '24 - 15:07 »
You can request a shorter period via the HIWORD of the BASS_RecordStart "flags" parameter. For example:

Code: [Select]
ChannelInput:=BASS_RecordStart(0,2,MAKELONG(0,10),@RecordingCallback,nil);

Please see the BASS_RecordStart documentation for details.