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_?
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_?