]> git.tdb.fi Git - libs/al.git/blob - source/buffer.h
Fix a typo in the copyright notice
[libs/al.git] / source / buffer.h
1 /* $Id$
2
3 This file is part of libmspal
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
6 */
7
8 #ifndef MSP_AL_BUFFER_H_
9 #define MSP_AL_BUFFER_H_
10
11 #include <string>
12 #include <AL/al.h>
13 #include "format.h"
14 #include "types.h"
15
16 namespace Msp {
17 namespace AL {
18
19 class Buffer
20 {
21 private:
22         uint id;
23
24 public:
25         Buffer();
26         ~Buffer();
27
28         uint get_id() const { return id; }
29         void data(Format, const void *, sizei, sizei);
30         void load_data(const std::string &);
31 };
32
33 } // namespace AL
34 } // namespace Msp
35
36 #endif