sAPO source code modification problem
I'm trying to use sAPO which is introduced in Windows Vista.
Though, I had some trobule in compiling them, finally I was able to compile and install it on my computer.
But the problem is that I don't think that it is not working properly.
The sample which Microsoft gave me is just to switch channels.
I added some more code which makes every sound output to white noise (0.00f ) in that sample.
and added some code which shows message box whenever users click check boxes on property window.
It looks like both of modification does not work properly.
Anybody succeeded in this sAPO sample modification?
I just want to know if there is anything wrong with the provided WDK samples.
Please, tell me anyone if you succeed in these things.
Thanks in advance.
Please be more specific. What version of the WDK and Vista are you running? What exactly doesn't work? Is there a compilation or link error or just no sound? Have you unprotected UMA? There have been a few changes with the WDK that might hang clients up:
A number of the audio samples in the SDK and DDK reference “PKEY_Device_FriendlyName”. In 5384 it was defined in “propkey.h”, in 5456 it moved to “functiondiscoverykeys.h”, now in 5472 it has moved to “FunctionDiscoveryKeys_devpkey.h” which is now included by “functiondiscoverykeys.h”, but this file is not included in either the DDK or the SDK yet. Contact MS at uaa@microsoft.com to get it.
Thank you for answering me, _Jeff_.
Okay, here is more details.
I downloaded WDK 5483, and was able to compile successfully.
My question above is another question.
Even if I succeeded in compiling source code, I couldn't be sure that if it is really working or not.
(Swithcing channels is not enough for me to tell if it is working or not. )
So, I added some source code in "APOProcess" which makes all PCM sample values to zero, and I really wanted to check if property window is working or not, I added some source code which shows Message Box whenever user click check boxes in property window.
But I don't think if the both added source code works.
I can hear all sound from PC( it is not supposed to do so), and I can't see any messageboxes how many times I try to click check boxes.
Any suggestions about this matter?
>Even if I succeeded in compiling source code, I couldn't be sure that if it is really working or not.
(Swithcing channels is not enough for me to tell if it is working or not.
If you do not have a stable starting point then it will be difficult helping you. You really need to get the example working, so we know whether you're dealing with an installation issue, or buggy code. Why is switching channels not enough for you to tell if the example is working?