[wdmaudiodev] Re: Hardware mixing

  • From: "Jeff Pages" <barefeet@xxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sat, 14 Mar 2009 19:52:32 +1100

My understanding is that multiple streams are only invoked if an application using DirectSound opens multiple playback buffers. All other multiple playback streams (such as from the waveOut API) go through kmixer which only opens one stream on the driver. This is described in the DDK under "DirectSound Hardware Acceleration", but this part of the DDK only makes reference to operating systems up to XP and Server 2003, so it's not clear whether this still applies under Vista, Server 2008 and Windows 7.


Jeff

----- Original Message ----- From: "Vipin Kumar" <vipin@xxxxxxxxxxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx>
Sent: Saturday, March 14, 2009 5:50 PM
Subject: [wdmaudiodev] Hardware mixing


Hi,
    i am writing driver of MSVAD multstr ( wavecyclic) , but i don't want
the kmixer to the mixing for me, since my driver will do it.

however, to do mixing i should be able to get multiple streams, ( say 2
different audio players playing 2 different songs )

i am not receiving execution of NewStream  whenever the second player
starts.

Should MSVAD multstr doesn't pass the stream to me as it is and then let me
do the mixing.

the MSVAD multstr documentation says
------------------------------------------------------------------------------------------------------------
MSVAD with Multi-Stream Support (VADMULTI) SUMMARY This sample demonstrates
how to implement driver support for multiple playback streams.
--------------------------------------------------------------------------------------------------------------------

shouldn't the sample run as it is  or am i doing something wrong.I even
tried with the original MSVAD multstr, but still, not able create multiple
streams..

Can someone explain this stuff to me.


--
--
Thanks & Regards
=================
Vipin.


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

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.com/

Other related posts: