I use WASAPI to capture audio buffers in shared mode on Windows 7. I use my loudspeakers which can only have a 48 kHz sample rate, 96 kHz, 192 kHz or 44.1 kHz sample rate. My sound card is a Realtek High Definition one.
I need to know if WASAPI will behave differently if I execute my program on another OS like Windows Vista or Windows 8. Also, I need to know if getBuffer will retrieve the same size for captured buffers with different hardware (different sound cards).
I can't test it on my own and I can't find much details on the Internet. But my program has to work on different computers with different versions of Windows and different hardware. My program won't work correctly on another computer if captured buffer size is different.
If anyone knows anything about it, let me know please. Thank you.