sound_file.hpp 253 Bytes
Newer Older
Georg Schaefer's avatar
Georg Schaefer committed
1
2
3
4
5
6
#ifndef __GDW_SOUND_HPP__
#define __GDW_SOUND_HPP__

#include <SDL_mixer.h>

namespace gdw {
Thomas Eppers's avatar
Thomas Eppers committed
7
	class sound_file {
Georg Schaefer's avatar
Georg Schaefer committed
8
9
10
11
	private:
		Mix_Chunk* impl_;

	public:
Thomas Eppers's avatar
Thomas Eppers committed
12
13
		sound_file(const char* mem, int size);
		~sound_file();
Georg Schaefer's avatar
Georg Schaefer committed
14
15
16
17
18
19
20

		Mix_Chunk* get() const;
	};

}

#endif