Hello all.
I have made a small clojure wrapper around the jorbis library from
jcraft (for decoding ogg vorbis compressed audio).
I'm planning to maybe use it as a component in a small game library
but I made it as a stand alone library because it could really be
useful in any app dealing with audio.

If anyone is interested in something like this, or just interested in
optimizing clojure code I would appreciate any comments or
suggestions.

The interface is pretty "low level", it uses bytebuffers and the
internals are full of mutable state that is not thread safe. The
reasons for this is that audio output APIs can work with bytebuffers
and the jorbis library which is used internally contains a lot of
mutable state.

If anyone has suggestions that can make the code more idiomatic,
easier to use or thread safe without making it slower or making it
require more memory that would be very welcome.

The code is on github:
github.com/bagucode/clj-vorbis


/Markus

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to