Mon Jan 17 21:51:07 2011: Request 64857 was acted upon. Transaction: Correspondence added by j...@activestate.com Queue: Win32-Sound Subject: RE: [rt.cpan.org #64857] possible to use multiple soundcards? Broken in: 0.49 Severity: Important Owner: Nobody Requestors: stefa...@cpan.org Status: new Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=64857 >
On Mon, 17 Jan 2011, Stefan Gipper via RT wrote: > possible to use multiple soundcards? > > with the function Win32::Sound::Devices and Win32::Sound::DeviceInfo is > avaible my soundcards but how use the soundcard 2 oder 3 with this > modul, example? Sorry, I don't know. I didn't write Win32::Sound; I only keep it up-to-date with new releases of Perl (if necessary). Looking at the docs (and the source), it looks like you can use Win32::Sound::WaveOut to switch output devices by calling CloseDevice() followed by OpenDevice($id), where $id should be the index in your @devices list. Feel free to discuss this some more on the libwin32@perl.org mailing list, instead of in a bug report. And if you get it to work, maybe send some patch to the documentation to make it easier for the next person to figure it out. :) Cheers, -Jan