WaveinReset crash
From: stijn (stino_at_biketrials.com)
Date: 03/01/04
- Next message: Alexander Grigoriev: "Re: WaveinReset crash"
- Previous message: EZGUI Developer: "use of MCI and video codecs - licensing ?"
- Next in thread: Alexander Grigoriev: "Re: WaveinReset crash"
- Reply: Alexander Grigoriev: "Re: WaveinReset crash"
- Reply: Bob Masta: "Re: WaveinReset crash"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Alexander Grigoriev: "Re: WaveinReset crash"
- Previous message: EZGUI Developer: "use of MCI and video codecs - licensing ?"
- Next in thread: Alexander Grigoriev: "Re: WaveinReset crash"
- Reply: Alexander Grigoriev: "Re: WaveinReset crash"
- Reply: Bob Masta: "Re: WaveinReset crash"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|