ruby-vorbistagger.git
17 years agoChanged the initialize size of the IO buffer to 0.
Tilman Sauerbeck [Fri, 11 Aug 2006 13:42:30 +0000 (15:42 +0200)]
Changed the initialize size of the IO buffer to 0.

It will be resized at every access anyway. It would be nice if we
could have a static buffer, but Ruby's API doesn't allow it atm.

17 years agoMade the IO buffer global.
Tilman Sauerbeck [Fri, 11 Aug 2006 13:40:05 +0000 (15:40 +0200)]
Made the IO buffer global.

There's no need to give each Ogg::Vorbis::Tagger instance its own
buffer. This should help memory consumption when there's more than
one Ogg::Vorbis::Tagger object around. The downside is that the buffer
object will be kept alive forever.

17 years agoMade sure that all comments are well-formed before they are parsed.
Tilman Sauerbeck [Fri, 11 Aug 2006 13:34:19 +0000 (15:34 +0200)]
Made sure that all comments are well-formed before they are parsed.

ie, check that every comment has a '=' sign somewhere, but not at
position 0.

17 years agoInitial commit.
Tilman Sauerbeck [Thu, 10 Aug 2006 16:05:32 +0000 (18:05 +0200)]
Initial commit.