[wdmaudiodev] Re: Replace WaveRT stream data?

  • From: Hakon Strande <hakons@xxxxxxxxxxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 10 Dec 2007 10:58:35 -0800

A WaveRT miniport driver by driver model design does not/should not touch the 
audio stream. If you try to "trick" the OS into thinking your driver is WaveRT 
but still find a way to manage audio bits you will at some point start failing 
Windows Logo tests (just mentioning this in case you or your customers care 
about the Certified for Windows or Works with Windows device logo).

If you want to create audio stream re-direction policies - that should be done 
in the applications space/user mode service space and not in the kernel/driver 
layer (undiscoverable for OS/user/apps) and definitely not in hardware 
(undiscoverable AND uncontrollable for OS/user/apps).

Windows and Windows applications likes transparent, discoverable and 
controllable audio solutions and if you hide your stream policies in the 
driver/hardware layer the OS is not able to discover this on behalf of 
applications/the user and the user experience suffers as a result.

In this case a simple audio service that connects a user selectable audio input 
device with a user selectable audio output device would probably do the job 
depending on what scenario you are trying to enable. Maybe you can describe 
your user scenario to us?

Sincerely,

Hakon Strande | Windows Sound Team PM

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Tim Roberts
Sent: Monday, December 10, 2007 10:28 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Replace WaveRT stream data?

WDM Audio wrote:
> Is it possible to replace input stream data under WaveRT?
>
> For example:
>
> There is an onboard codec, and I record from other sound input device
> (e.g. USB Audio), then put USB audio data to onboard codec stream.
> At latest, the recorder program will receive data which come from USB
> audio device.

How do you expect to get the USB data to the onboard codec, electrically
speaking?

If this is a WaveRT codec that acts like filter, where it accepts
unencoded data and returns the encoded data, then you can do this with a
normal  user-mode audio graph.  Connect the USB audio input source to
the codec's input stream, and read the result from the codec's output
stream.

However, if the codec is just an internal part of an audio input device,
then there is no way for you to feed data to the codec.  The on board
paths are wires that you cannot tap into.

--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

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

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/


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

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: