From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.66.196 with SMTP id h4mr11682143pat.5.1429888783560; Fri, 24 Apr 2015 08:19:43 -0700 (PDT) X-Received: by 10.140.95.135 with SMTP id i7mr90725qge.27.1429888783505; Fri, 24 Apr 2015 08:19:43 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!m20no5966731iga.0!news-out.google.com!k20ni1057qgd.0!nntp.google.com!j5no3517780qga.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 24 Apr 2015 08:19:43 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=20.132.68.148; posting-account=71T85QoAAACdj14SLDEMBv_3HCGzGIoF NNTP-Posting-Host: 20.132.68.148 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9178a1ee-c9bc-4234-be2f-aca8e64def35@googlegroups.com> Subject: Debugging Sound Issue with 2 Sound Cards on Windows 7: Any ideas out there? From: dd24fan Injection-Date: Fri, 24 Apr 2015 15:19:43 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:25597 Date: 2015-04-24T08:19:43-07:00 List-Id: Hi all! Currently have a 32-bit application that worked great in Windows XP with 2 sound cards. With XP wave files when triggered would play to the approproriate sound device. As part of the ada code we had a configuration text file that had string identifier names which we defined depending on the device cards installed. With a new Win7 PC I brought over the 32-bit app and right now I have the onboard Realtek "Speakers (Realtek High Definition Audio)" and another card installed from Diamond MM "Speakers (C-Media PCI Audio Device)". The Realtek device simulates all external sounds in our simulation (APU-auxilliary power unit. High pitched engine running sound). The PCI device simulates intercom sounds in our simulation using headsets. The problem now is that all the sounds play only through the Realtek. I don't have experience in working with the winapi libraries but did not think that anything had to be done or touched with that code as far as the setup structure to play the sounds. We are still using ObjectAda version 8.2 with the bindings from Winapi 4.1 C:\Program Files\..\ObjectAda\winapi\v4.1\binding\ascii\src Would anyone have any ideas what to try to resolve this problem? Is this a Win 7 issue? Thanks, D