The audio being sent to each sound card is different, so I want to be
able to address them separately.
Assuming that the sound cards are installed, and have their relevant
drivers, is it possible to get the TMediaPlayer component to output to
a specific device?
I guessing here, but I imagine I'd have to enumerate the available
devices and get handles to them, and somehow tell each TMediaPlayer to
output to a specific device.
Maybe through the DeviceID property? The help isn't very helpful in
that area.
Alternatively, would it be better to forget the TMediaPlayer and use
the Windows API multimedia calls directly?
Phil Rogers
AFAICS you would need to go for Win API calls. Look up "Mixers" - I
would imagine each sound card would have its own mixer.
An old article on "Mixing it up with the Mixer" by Steve Roman. I have
a copy plus a small app to enumerate the mixers & their sources (in
Delphi), which may help you - email me if you want a copie & source.
Alan Lloyd