X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsound.h;h=60bdf456319d4cf3298d74176c879aa62adb13fe;hb=17948408eafd48ea529acd0a70cc45fc5973cb10;hp=1bc043bfe5c127a89d9ab636d3a4ac5c72ff4ec6;hpb=2ff6e1cc7fcae3099b127a886360d7919a4b3efa;p=libs%2Fal.git diff --git a/source/sound.h b/source/sound.h index 1bc043b..60bdf45 100644 --- a/source/sound.h +++ b/source/sound.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspal -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_AL_SOUND_H_ #define MSP_AL_SOUND_H_ @@ -36,6 +29,9 @@ public: void open_file(const std::string &); void open_memory(const void *, unsigned); +private: + void open_common(); +public: void load_data(); void load_file(const std::string &); void load_memory(const void *, unsigned); @@ -48,8 +44,6 @@ public: unsigned get_frequency() const { return freq; } unsigned get_size() const { return size; } const char *get_data() const; -private: - void open_common(); }; } // namespace AL