Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ALAudioOut.Device.DeviceName problem
09-28-2016, 08:29 AM
Post: #2
RE: ALAudioOut.Device.DeviceName problem [solved]
After spending some test time with Boian, we resolved the problem.

The ALAudioOut component will not switch to a new device until the input stream is stopped. For example, if you have the SLSigGen connected to the ALAudioOut component then you need to first stop the SLSigGen, reassign the output device (soundcard) and then restart the signal generator:

ALSignalGen1.Stop();
ALAudioOut1.Device.DeviceName := 'HP w2408-8 (NVIDIA High Definit';
ALSignalGen1.Start();

If you are using some other type of input stream to ALAudioOut then you would do the same as above.

When the input stream is restarted and ALAudioOut receives new samples then it will connect to the new device and output samples to it.
Quote this message in a reply
Post Reply 


Messages In This Thread
ALAudioOut.Device.DeviceName problem - CraigNZ - 09-21-2016, 09:23 AM
RE: ALAudioOut.Device.DeviceName problem [solved] - CraigNZ - 09-28-2016 08:29 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)