Greetings,

I'm creating a AVStream audio device that registers itself as a audio
playback device. When I select the device as my default playback device, I
can hear the sound and everything is fine and good. But now I am working on
implementing the audio mixer for the device (e.g. Volume, Mute, Microphone
Volume, ect).

When I open up the Sounds and Audio Devices control panel, 'Device volume'
section is grayed out as well as the buttons in the 'Speaker settings'
section on the Volume tab. When I go to the Audio tab I can access the
Volume and Advanced buttons for both my Sound playback and Sound recording.
If I choose the Volume button for Sound playback, I see my Wave, CD Audio,
and SW Synth mixers, but I seem to lack the Master Volume mixer. If I go to
the properties in Sndvol32 for my device I see "Playback" and "Recording"
radio buttons. Under playback I see the same mixers as I saw previously,
and under Recording I see no volume controls.

I assume once I implement the Master Volume mixer that the controls on the
'Device volume' and 'Speaker settings' sections will be enabled. So how do
I implement the Master Volume mixer?
I've created a simple wave topology that implements Volume, Mute, SUM, ADC
and DAC nodes for my speaker and microphone pins. When I look in KS Studio
I see my driver under the KSCATEGORY_AUDIO Filter Factories as a Audio
device (or a \wave device). I looked at other soundcards on different
systems and they also seem to have a Mixer node (or a \topology device). I
assume that these soundcard drivers are portcls drivers. When I instantiate
both of these filters they automatically connect (I've seen this behavior
before in the MSVAD sample and understand the theory of how these filters
work together). So is there a way to create a Topology Filter and a Wave
Filter for my device, or does AVStream do it a different way. I see that
portcls drivers uses PcRegisterSubDevice to register these filters but I
have been unable to find the AVStream equivalent.

Any help would be greatly appreciated.

Regards,

Eddie

RE: AVStream Audio Mixer. How? by dmaddy

dmaddy
Fri Aug 20 19:38:06 CDT 2004

------=_NextPart_0001_4C2E6160
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Eddie,

I am not sure how you might implement a Master Volume mixer in an AVStream
minidriver but I will try to research this further on Monday. Almost all
audio drivers are PortCls minidrivers.

Best regards,

Dan Maddy
Microsoft DDK Support

This posting is provided "AS IS" with no warranties, and confers no rights
------=_NextPart_0001_4C2E6160
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Eddie,
\par
\par I am not sure how you might implement a Master Volume mixer in an AVStream minidriver but I will try to research this further on Monday. Almost all audio drivers are PortCls minidrivers.
\par
\par Best regards,
\par
\par Dan Maddy
\par Microsoft DDK Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights
\par }
------=_NextPart_0001_4C2E6160--


Re: AVStream Audio Mixer. How? by Eddie

Eddie
Mon Aug 23 09:17:57 CDT 2004

Thanks,
I have chosen to do an AVStream driver because my device is a 1394
device. AVStream seemed better suited for such a device. Any advice would
be appreciated.

Eddie


"Dan Maddy [MSFT]" <dmaddy@online.microsoft.com> wrote in message
news:8JxglcxhEHA.3024@cpmsftngxa10.phx.gbl...
> Hi Eddie,
>
> I am not sure how you might implement a Master Volume mixer in an AVStream
> minidriver but I will try to research this further on Monday. Almost all
> audio drivers are PortCls minidrivers.
>
> Best regards,
>
> Dan Maddy
> Microsoft DDK Support
>
> This posting is provided "AS IS" with no warranties, and confers no rights



Re: AVStream Audio Mixer. How? by dmaddy

dmaddy
Tue Aug 24 18:08:46 CDT 2004

------=_NextPart_0001_60762858
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Eddie,

I noticed that you have worked with our local audio guru Rich in the past.
He is on vacation this week so I will try to help you as much as I can
while he is alway. Is there a good reason why you are not using
AVCAudio.SYS? I could not find any samples implementing an AVStreams
topology filter. I included some interesting links below. I will look into
this some more in the next few days.

Best regards,

Dan Maddy
Microsoft DDK Support

http://www.microsoft.com/whdc/archive/wdmaudio.mspx#XSLTsection131121120120
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/s
tream/aud-design_cfd986a5-5afa-4e21-9e5f-238dbc493a10.xml.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/s
tream/aud-design_21ab0cf3-f7a7-4f6f-93db-a4b7e9eef24f.xml.asp
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%232dwkBx7CHA.180
8%40TK2MSFTNGP11.phx.gbl&rnum=3&prev=/groups%3Fq%3Dtopology%2BAVStream%26hl%
3Den%26lr%3D%26ie%3DUTF-8%26selm%3D%25232dwkBx7CHA.1808%2540TK2MSFTNGP11.phx
.gbl%26rnum%3D3
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%23eyhHmCSEHA.293
6%40TK2MSFTNGP12.phx.gbl&rnum=8&prev=/groups%3Fq%3Dtopology%2BAVStream%26hl%
3Den%26lr%3D%26ie%3DUTF-8%26selm%3D%2523eyhHmCSEHA.2936%2540TK2MSFTNGP12.phx
.gbl%26rnum%3D8

This posting is provided "AS IS" with no warranties, and confers no rights
------=_NextPart_0001_60762858
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Eddie,
\par
\par I noticed that you have worked with our local audio guru Rich in the past. He is on vacation this week so I will try to help you as much as I can while he is alway. Is there a good reason why you are not using AVCAudio.SYS? I could not find any samples implementing an AVStreams topology filter. I included some interesting links below. I will look into this some more in the next few days.
\par
\par Best regards,
\par
\par Dan Maddy
\par Microsoft DDK Support
\par
\par http://www.microsoft.com/whdc/archive/wdmaudio.mspx#XSLTsection131121120120
\par http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/stream/aud-design_cfd986a5-5afa-4e21-9e5f-238dbc493a10.xml.asp
\par http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/stream/aud-design_21ab0cf3-f7a7-4f6f-93db-a4b7e9eef24f.xml.asp
\par http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%232dwkBx7CHA.1808%40TK2MSFTNGP11.phx.gbl&rnum=3&prev=/groups%3Fq%3Dtopology%2BAVStream%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3D%25232dwkBx7CHA.1808%2540TK2MSFTNGP11.phx.gbl%26rnum%3D3
\par http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%23eyhHmCSEHA.2936%40TK2MSFTNGP12.phx.gbl&rnum=8&prev=/groups%3Fq%3Dtopology%2BAVStream%26hl%3Den%26lr%3D%26ie%3DUTF-8%26selm%3D%2523eyhHmCSEHA.2936%2540TK2MSFTNGP12.phx.gbl%26rnum%3D8
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights
\par }
------=_NextPart_0001_60762858--


Re: AVStream Audio Mixer. How? by Eddie

Eddie
Wed Aug 25 09:25:56 CDT 2004

Initially I tried avcaudio.sys, but 1) it didn't match to my device and 2)
after adjusting the inf so that it would match, it crashed the machine hard
after it installed and 3) we wanted support for more than just Windows XP
which I don't believe avcaudio.sys provides. I'll check out these links and
see if theres some useful information there.

Thanks,
Eddie

"Dan Maddy [MSFT]" <dmaddy@online.microsoft.com> wrote in message
news:4XdNW9iiEHA.3628@cpmsftngxa10.phx.gbl...
> Hi Eddie,
>
> I noticed that you have worked with our local audio guru Rich in the past.
> He is on vacation this week so I will try to help you as much as I can
> while he is alway. Is there a good reason why you are not using
> AVCAudio.SYS? I could not find any samples implementing an AVStreams
> topology filter. I included some interesting links below. I will look into
> this some more in the next few days.
>
> Best regards,
>
> Dan Maddy
> Microsoft DDK Support
>
>
http://www.microsoft.com/whdc/archive/wdmaudio.mspx#XSLTsection131121120120
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/s
> tream/aud-design_cfd986a5-5afa-4e21-9e5f-238dbc493a10.xml.asp
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/s
> tream/aud-design_21ab0cf3-f7a7-4f6f-93db-a4b7e9eef24f.xml.asp
>
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%232dwkBx7CHA.180
>
8%40TK2MSFTNGP11.phx.gbl&rnum=3&prev=/groups%3Fq%3Dtopology%2BAVStream%26hl%
>
3Den%26lr%3D%26ie%3DUTF-8%26selm%3D%25232dwkBx7CHA.1808%2540TK2MSFTNGP11.phx
> gbl%26rnum%3D3
>
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%23eyhHmCSEHA.293
>
6%40TK2MSFTNGP12.phx.gbl&rnum=8&prev=/groups%3Fq%3Dtopology%2BAVStream%26hl%
>
3Den%26lr%3D%26ie%3DUTF-8%26selm%3D%2523eyhHmCSEHA.2936%2540TK2MSFTNGP12.phx
> gbl%26rnum%3D8
>
> This posting is provided "AS IS" with no warranties, and confers no rights



Re: AVStream Audio Mixer. How? by dmaddy

dmaddy
Wed Aug 25 17:52:59 CDT 2004

------=_NextPart_0001_658DEA8D
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Eddie,

avcaudio.sys is not available in Windows versions prior to Windows XP.

I found a response to your question from another person at Microsoft in
another forum.

Link: http://www.freelists.org/archives/wdmaudiodev/08-2004/msg00017.html

Best regards,

Dan Maddy
Microsoft DDK Support

This posting is provided "AS IS" with no warranties, and confers no rights
------=_NextPart_0001_658DEA8D
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Eddie,
\par
\par avcaudio.sys is not available in Windows versions prior to Windows XP.
\par
\par I found a response to your question from another person at Microsoft in another forum.
\par
\par Link: http://www.freelists.org/archives/wdmaudiodev/08-2004/msg00017.html
\par
\par Best regards,
\par
\par Dan Maddy
\par Microsoft DDK Support
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights
\par }
------=_NextPart_0001_658DEA8D--