[wdmaudiodev] Re: waveInOpen/waveOutOpen in Vista

  • From: Eugene Muzychenko <emuzychenko@xxxxxxxxx>
  • To: Chinmay Mahata <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 29 Jan 2009 11:35:38 +0600

Hello Chinmay,

> I need XP behavior in Vista.

You are unable to change Windows audio subsystem behavior. But if you
need to start a stream immediately upon creation (for example, to
be ready for data), you can perform all necessary actions in NewStream
and/or Init. Stream states managed with SetState are for driver clients
only. A driver should not change stream state without a client
request.

Since a pin instance accepts data IRPs only in Acquire/Pause/Run
states, you can perform all preparations when a stream state changes
to Acquire/Pause.

Regards,
Eugene

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

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: