Skip to content
Prev 5029 / 15075 Next

sound::setWavPlayer()

On Aug 27, 2008, at 10:52 , Hans-J?rg Bibiko wrote:

            
That's my point - I was talking about native playback. When I said one  
line of code I meant Obj-C not shell, so you don't need any external  
application. To be precise to play an audio file all you do is
[[[NSSound initWithContentsOfFile:fileName byReference:YES]  
autorelease] play];
Thats' all :)

Cheers,
Simon