nil wrote:He's probably using REAL Studio (funny how they changed the name). NSSound is a useless API anyway, with no support for vorbis files. If Modzy is actually interested, he'd need to find some library that handles ogg vorbis (libogg or libvorbis are the probably obvious C ones), and then get the duration.
It is indeed RB (RS?), and I've looked at some of the documentation for the vorbis format, it'd take me awhile, but I could implement something in RB (RS?!). It'd just be a big pain.
'Course, at that point I might as well just rewrite the thing in Obj-C, which would suit this application better, and wouldn't really be hard.