[wdmaudiodev] Re: Simple MME Question if I may

  • From: "phil" <phil@xxxxxxxxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 14 Mar 2003 16:29:24 -0800

Hi Peter! Man I haven't spoken to you since you were the ONLY guy to provide
a WinNT driver for my cardD!!!

Thanks for the tip! I will search for that.

Phil
----- Original Message -----
From: "Peter Haller" <pchaller@xxxxxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx>
Sent: Friday, March 14, 2003 8:44 AM
Subject: [wdmaudiodev] Re: Simple MME Question if I may


>
> While you don't have the actual Microsoft mmsystem source, you can look at
a
> typical Native Wave MME driver user mode implementation. Just locate a
copy
> of the NT 4 DDK and there is sample code for the user mode portion of the
> waveOutXXXX and waveInXXXX function implementations.
>
> Legacy, but it could be enlightening for you. (Also believe that the older
> 9X DDK have sample source for this as well.)
>
> Peter
>
> ----- Original Message -----
> From: "phil" <phil@xxxxxxxxxxxxxxxxxxxx>
> To: <wdmaudiodev@xxxxxxxxxxxxx>
> Sent: Thursday, March 13, 2003 6:48 PM
> Subject: [wdmaudiodev] Re: Simple MME Question if I may
>
>
> >
> >  I naively just assumed the preparefunctions would work.. makes it so
> easy.
> > And fast. Since the buffers are dealt with immediately. I have not had
any
> > problems with playing... just waveOutReset. Sure wish we had the source
> code
> > for those routines. I would really like to know what they are doing.
Even
> > after looking at the list of funcs you are allowed to call more than a
few
> > times.. it just went right past me.!
> >
> > thanks for your response. i appreciate it very much.
> >
> > p
> >
> >
> > ----- Original Message -----
> > From: "Jeff Pages" <jeff@xxxxxxxxxxxxxxxx>
> > To: <wdmaudiodev@xxxxxxxxxxxxx>
> > Sent: Thursday, March 13, 2003 2:02 PM
> > Subject: [wdmaudiodev] Re: Simple MME Question if I may
> >
> >
> > >
> > > I suggest you read very carefully the documentation on the wave
callback
> > > functions. You must not call any other wave functions (such as
> > > waveOutUnprepareHeader) or any but a select few Win32 functions from
> > within
> > > these callbacks.
> > >
> > > I have found it easier to use the window messages (MM_WOM_DONE, etc)
> > rather
> > > than the callback functions, as there are no restrictions on what can
be
> > > called from within the window message loop.
> > >
> > > Jeff
> > >
> > > ----- Original Message -----
> > > From: "phil" <phil@xxxxxxxxxxxxxxxxxxxx>
> > > To: <wdmaudiodev@xxxxxxxxxxxxx>
> > > Sent: Thursday, March 13, 2003 7:33 AM
> > > Subject: [wdmaudiodev] Simple MME Question if I may
> > >
> > >
> > > >
> > > > Hello
> > > >
> > > >     I am new to this list in the hopes I may find a solution. I am
> > writing
> > > > some code to use MME waveaudio calls.. it is a multi-buffer setup
and
> it
> > > > plays just fine. I am using a callback function to unprepare,
prepare
> > amd
> > > > write new buffers.  However, when I call waveOutReset(hWave) , the
> first
> > > > time it goes to the callback function after the call to
waveoutReset()
> > my
> > > > code hangs inside the call to waveOutUnPrepareheader(); all of the
> data
> > in
> > > > the header seems fine on the call to unprepare the header. dwFlags
is
> a
> > 3
> > > > which means the buffer is PREPARED and DONE.
> > > > \
> > > >     Any help would be great! I have not seen this yet and I am a
> little
> > > > unsure as to how to deal with it.
> > > > [phil]
> > > >
> > > > ******************
> > > >
> > > > 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/
> > >
> >
> > ******************
> >
> > 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/
>

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

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: