0
0

hey brett, i´ve started a thread in this forum about getting the rawdata of samples and it´s away now. where is it? you´ve even already givin an answer to my question.
well, i´ll repeat it:

i try to get the sampledata of a sample which is loaded by fmod with:

if FSOUND_sample_lock(sample,0,FSOUND_sample_getLength(sample)*4,ptr1,ptr2,len1,len2) then
begin
move(ptr1^,tr.buffer,len1);
FSOUND_sample_unlock(sample,ptr1,ptr2,len1,len2);

end;

and i get an acces violation, but if i wanna write data to the sample with
move (tr.buffer,ptr1^,len1);
works fine.

so i don´t understand why! perhaps, here´s another deplhi-coder who has the answer?

  • You must to post comments
0
0

It seems that a couple of threads went missing since yesterday. Another missing thread is about making an oscilloscope.

  • You must to post comments
0
0

Oh, I didn’t see the new forum. I guess it was just habit to click on the first forum. :smile:

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.