[3702] | 1 | //libroarrsound.h: |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2010 |
---|
| 5 | * The code (may) include prototypes and comments (and maybe |
---|
| 6 | * other code fragements) from RSound. |
---|
| 7 | * They are copyrighted by Hans-Kristian 'maister' Arntzen. |
---|
| 8 | * |
---|
| 9 | * This file is part of libroarrsound a part of RoarAudio, |
---|
| 10 | * a cross-platform sound system for both, home and professional use. |
---|
| 11 | * See README for details. |
---|
| 12 | * |
---|
| 13 | * This file is free software; you can redistribute it and/or modify |
---|
| 14 | * it under the terms of the GNU General Public License version 3 |
---|
| 15 | * as published by the Free Software Foundation. |
---|
| 16 | * |
---|
| 17 | * RoarAudio is distributed in the hope that it will be useful, |
---|
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 20 | * GNU General Public License for more details. |
---|
| 21 | * |
---|
| 22 | * You should have received a copy of the GNU General Public License |
---|
| 23 | * along with this software; see the file COPYING. If not, write to |
---|
| 24 | * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
| 25 | * |
---|
| 26 | * NOTE for everyone want's to change something and send patches: |
---|
| 27 | * read README and HACKING! There a addition information on |
---|
| 28 | * the license of this document you need to read before you send |
---|
| 29 | * any patches. |
---|
| 30 | */ |
---|
| 31 | |
---|
| 32 | #ifndef _LIBROARRSOUND_H_ |
---|
| 33 | #define _LIBROARRSOUND_H_ |
---|
| 34 | |
---|
| 35 | #include <roaraudio.h> |
---|
| 36 | #include <rsound.h> |
---|
| 37 | |
---|
[3706] | 38 | #define LIBROARRSOUND_FLAGS_NONE 0x00 |
---|
| 39 | #define LIBROARRSOUND_FLAGS_CONNECTED 0x01 |
---|
| 40 | #define LIBROARRSOUND_FLAGS_STREAMING 0x02 |
---|
| 41 | |
---|
| 42 | struct libroarrsound { |
---|
| 43 | rsound_t rsound; |
---|
| 44 | int flags; |
---|
| 45 | struct roar_connection con; |
---|
| 46 | struct roar_stream stream; |
---|
| 47 | struct roar_vio_calls vio; |
---|
| 48 | }; |
---|
| 49 | |
---|
[3702] | 50 | #endif |
---|
| 51 | |
---|
| 52 | //ll |
---|