Streaming audio from memory

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
zorg
Party member
Posts: 3449
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: Streaming audio from memory

Post by zorg »

You can get the length of a SoundData object: [wiki]SoundData:getDuration[/wiki], i'm not sure whether you can for Sources or Decoders.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
foo0
Prole
Posts: 35
Joined: Sun Apr 27, 2014 10:25 am

Re: Streaming audio from memory

Post by foo0 »

Only SoundData object seems to have that method. With clone() you don't really need SoundData, but then there's no way of getting sound duration (none that I know of).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest