Forums
Play music from Audio Buffer - Printable Version

+- Forums (http://mitov.com/forum)
+-- Forum: VCL Components (/forum-6.html)
+--- Forum: AudioLab (/forum-14.html)
+--- Thread: Play music from Audio Buffer (/thread-3095.html)



Play music from Audio Buffer - komuveskiki@gmail.com - 09-27-2015 08:27 AM

Hello
How can I play music direct from buffer

DataBuffer := TALAudioBuffer.CreateSize( 44100, 16, 2, 1024000 );
DataBuffer.LoadFromFile('d:\jjj');
ALGenericFilter1.SendData( DataBuffer );
ALGenericFilter1.SendStartCommand(16,2,44100);

ALGenericFilter1 output pin connect alds audio out input pin

This is not work. why?

PLEASE help.

audio buffer can load just genericfilter or direct_?