Does anyone know why this is?

Question

Whenever I try to lock a 4 second DirectSound buffer, it only locks half of what I want it to (2 seconds). They are all 16 bits per sample, 44kHz, and 2 channels. When I try to write to it, it gives an access violation. Does anyone know why this is?

I use Borland C++ Builder 3 Pro and DX 7 API.

Thanks very much for your help.

Answer

This question was answered on April 10, 2003. Much of the information contained herein may have changed since posting.

Rmarchi

Need Help with this Issue?

We help people with technology! It's what we do.
Schedule an Appointment with a location for help!

Author

Posted by ricardo of Katharine Gibbs School - New York on April 10, 2003