Forum Rule: Always post complete source code & details to reproduce any issue!
Page 2 of 2 FirstFirst 1 2
Results 26 to 27 of 27

Thread: getting started with library writing - samples vs blocks and AUDIO_BLOCK_SAMPLES

  1. #26
    Since I'm getting a null, I tried using this code from effect_freeverb.cpp to give it values:

    Code:
    	block = receiveWritable(0);
        if (!block)
        {
            block = &zeroblock;
        }
    This itself works, but I still fail at writing back to the block.

    So I tried your suggestion, and what the hell... it works!

    Pushing updated code to git now. I hope this can get some testers who can spiff it up and bring it up to standard.

  2. #27
    Senior Member
    Join Date
    Feb 2015
    Posts
    104
    Hah, sweet, glad you got it working!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •