[wdmaudiodev] Re: Stream information

  • From: Matthew van Eerde <mateer@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 18 Nov 2010 16:55:59 +0000

This is pretty simple to do from the app that's playing audio (since it knows 
the source format and it can query the device format) but I don't think there's 
a way to do it from the driver.

-----Original Message-----
From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Robert Bielik
Sent: Thursday, November 18, 2010 12:32 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Stream information

Hi,

I've been asked by a customer if it is possible to detect the source stream 
format during streaming. Ok, we're on Vista and
the audio server opens my device with 96 kHz 24 bit stereo (as that's whats in 
"Default format" settings).

But the source stream comes from a media player playing a 44.1kHz stereo file, 
so inevitably a SRC will be done between the MP
and my device.

The question then is: Can I detect this somehow ? It would be nice in order to 
let the user of my device know that a SRC is in effect... ?

TIA
/Rob
******************

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: