Author Topic: BASS_RecordStart() function parameters  (Read 3152 times)

zydu

  • Posts: 14
BASS_RecordStart() function parameters
« on: 21 Feb '07 - 10:11 »
Hi

This is the header of the function :
 
HRECORD BASS_RecordStart(
    DWORD freq,
    DWORD chans,
    DWORD flags,
    RECORDPROC *proc
    DWORD user
);

Can anyone explain how to use parameter flags properly (to change the period between calls to the callback function for example).
I know its written i the doc but i still don't get it.

Mike
« Last Edit: 21 Feb '07 - 11:07 by zydu »

Ian @ un4seen

  • Administrator
  • Posts: 20851
Re: BASS_RecordStart() function parameters
« Reply #1 on: 21 Feb '07 - 18:19 »
You need to use the MAKELONG macro, like this...

Code: [Select]
BASS_RecordStart(freq, chans, MAKELONG(flags, period), proc, user);