WaveinReset crash

From: stijn (stino_at_biketrials.com)
Date: 03/01/04


Date: 1 Mar 2004 05:45:16 -0800

Hi!
we are using a program written in VC++ by some guy (who cannot be
reached anymore). The program is able to simultanuously record from 4
channels, do realtime processing, and play back the result and write
it to files. Or it can also just read a wav file, do processing, and
play out/write to files.
I was asked to take a look at the code... First impression: what a
mess! problem is I'm kinda new to C++ and programming in general so
I'm pretty desperate..
It seems the program hangs after calling WaveInReset. It has like 100
memory leaks then, because the 'free' statements come after the
WaveinReset: so it doesn't free it's record/play buffers which are all
44100bytes big.
Strange thing is that it doesn't hang when I just play out something
(WaveOutReset doesn't hang)
If needed I can always post some code.

I really can't get a clue of the program flow, it just uses so many
flags and buffers that I don't see what is going on.
Any ideas on what could be the problem are more then welcome!
Or if someone know a decent program/source code that has nearly the
same functionality (realtime rec/process/play), that would even be
better..

Regards,
 Stijn



Relevant Pages

  • Re: I was completely wrong about Tendulkar
    ... Tendulkar in full flight was a joy to watch. ... when you are out plumb lbw first ball and the umpire denies the ... Instead you hang around, play 30 balls and score a classic 7 runs. ...
    (rec.sport.cricket)
  • Re: No comments on Sampras match?
    ... "I'm not going to play Wimbledon again. ... Ginepri and he said he think he can hang with the young guys. ... Sampras could probably hang with Fish and Ginepri because neither are ...
    (rec.sport.tennis)
  • Re: Republicans to Democrats...Lets All Just GET ALONG.
    ... He counts on the fact that most folks will simply not take the trouble ... "I'd play guitar with Led Zeppelin" would not be comparing yourself to ... how could you "Hang" with Coltrane without actually being able ... Even Tommy Flanagan couldn't keep up with Coltrane on the Giant Steps ...
    (alt.guitar.amps)
  • I was completely wrong about Tendulkar
    ... by stroking a fifty against the fearsome Bermuda attack. ... when you are out plumb lbw first ball and the umpire denies the ... Instead you hang around, play 30 balls and score a classic 7 runs. ...
    (rec.sport.cricket)