[fpc-pascal] Re: Playing sounds with standard components
    silvioprog 
    silvioprog at gmail.com
       
    Mon Jun 11 23:12:37 CEST 2012
    
    
  
2012/6/11 Ludo Brands <ludo.brands at free.fr>:
[...]
> On the lazarus forum, kpjcomp made a wrapper for Openal. Haven't tested it
> but his example code is as simple as:
>
>  openAl := TLazOpenAL.Create;
>
>  wav1 := TLazOpenALWavFileSource.Create('drumloop.wav');
>  wav1.looping := true;
>  openal.SourceList.Add(wav1);
>
>  wav2 := TLazOpenALWavFileSource.Create('chimes.wav');
>  openal.SourceList.Add(wav2);
>
>  wav1.play;
>  wav2.play;
>
> Perhaps worth looking at.
>
> Ludo
Hello Ludo. :)
Where do I find the openal_nt unit?
unit1.pas(9,3) Fatal: Can not find unit openal_nt used by Unit1.
-- 
Silvio Clécio
My public projects - github.com/silvioprog
    
    
More information about the fpc-pascal
mailing list