i try to record something, and show the VU. i read the docu and noticed that i have to create a sample.
so, i have to set the lenght in sampels but i have no idea what the hell a sample is!
and, once i created a sample, i just have to start recording?!?!
and playback some ms later, to get a safe distance between the pointers?
maybe someone could give the basic code-lines (vb)
thx a lot!
hey, this ‘talking to oneself’ is great! just found some bugs, my code is right now:
SamplePointer = FSOUND_Sample_Alloc(FSOUND_UNMANAGED, 22050, FSOUND_MONO Or FSOUND_16BITS, 22050, 255, 128, 255)
FSOUND_Record_StartSample SamplePointer, True
FSOUND_PlaySound 1, SamplePointer
so, the samples are the length * freq. i looked in the c++ source.
okok, but still getcurrentvu gives me 0.
hopefully the next post will be of someone else 😉
i init fmod, no errors.
i get the drivetlist and ‘record_setdriver’ returns 1, True, no errors-
i create a sample (sampleAlloc), get a pointer.
now i record into this sample (record_startsample) but getposition alway returns 0
whts going wrong???????
Please login first to submit.