locked
multiple sound devices problem in a c++ programm RRS feed

  • Question

  • hi guys,
    hallo, i have write a programm in c++ that enable me to use simultaneously multiple sound device. On My PC i have XP installed and two sound device one from Creative, the other is a USB-Soundcard
    When i use only one soundcard my programm runs. But if try to run the two device simultaneously, e.g recording from one and playing the recorded data from the other. the programm runs only 2 min and hang. i have notice that during this time the memory uses by my Program contineously increase.
    i have the same problem on win200 workstation, i update the soundcard drivers and since it runs. On XP i have update the drivers too, but that doesn't solve the problem
    helps and ideas are welcome
    Thanks.
    Tuesday, June 26, 2007 1:43 AM

Answers

All replies

  • hi guys,  after tracing my Program i notice that after fews second the device stop to send the WOM_DONE message to the play-callback function. That explains the increasing of the memory. But  i  don't  understand,  while the device don't send the WOM_DONE message if the waveoutwrite works correctly.
    helps and ideas are welcome
    thanks
    Tuesday, June 26, 2007 4:25 PM
  • Thursday, June 28, 2007 6:03 PM