]> git.tdb.fi Git - libs/al.git/commitdiff
Make SoundDecoder a base class and split off Ogg decoding
authorMikko Rasa <tdb@tdb.fi>
Tue, 20 Nov 2012 22:37:25 +0000 (00:37 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 20 Nov 2012 22:38:55 +0000 (00:38 +0200)
Decoders are now created with a static factory function, without a
separate open call.  This allows autodetecting the decoder type later and
simplifies resource management.

The Ogg specific stuff was also hidden behind a private pointer to further
improve encapsulation and reduce namespace pollution.


No differences found