[wdmaudiodev] Re: MSVAD BUG?

  • From: "Richard Fricks" <richfr@xxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Tue, 25 Jan 2005 11:43:51 -0800

There is bug in MSVAD in this regard. The problem involves the following
code in savedata.cpp:

#ifndef USE_OBSOLETE_FUNCS
   for (int i = 0; i < MAX_WORKER_ITEM_COUNT; i++)
   {
    
       if (m_pWorkItems[i].WorkItem!=NULL)
       {
           IoFreeWorkItem(m_pWorkItems[i].WorkItem);
           m_pWorkItems[i].WorkItem = NULL;
       }
   }
#endif


Change the #ifndef to #ifdef. So the correct line would read:
#ifdef USE_OBSOLETE_FUNCS

That should solve the problem.

-Rich

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of
dprado@xxxxxxxxxxxxxx
Sent: Tuesday, January 25, 2005 10:29 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: MSVAD BUG?

I have observed the same behavior on XP. I noticed that each time a
sound is
"played" though the msvad device it writes a new file called
(stream_XX.wav )
where XX is a sequential number. Only the first file written
(stream_0.wav ,
related to the first sound played through the device) is a valid wav
file.  all
other files that it writes are short files that do not have valid wav
audio. 

Dimitri
> >I just got the MSVAD drivers to compile under windows 2000, but when
I use
> >
> >the "simple" and "multistream" drivers (select it as the default wave
> >
> >device), all I get are 44 byte wave files labeled "STREAM_1.wav,
> >
> >STREAM_2.wav, and so on written to my C drive. What's more, the files
are
> >
> >all identical.
> >
> > 
> >
> >I was under the impression that these virtual audio drivers allowed
for
> >
> >writing audio data outputted by all running programs (using waveOut,
or
> >
> >directsound) to a single wave file as opposed to an actual sound card
> (which
> >
> >presumably can be easily modified to route the audio stream over the
> >
> >internet)
> >
> > 
> >
> >Does anyone understand what exactly the MSVAD Audio drivers do out of
the
> >
> >box?
> >


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:
mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: