openalbridge/ssound.h
author koda
Wed, 14 Oct 2009 22:25:28 +0000
changeset 2445 5033848d3afa
permissions -rw-r--r--
committing some missing files
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2445
5033848d3afa committing some missing files
koda
parents:
diff changeset
     1
/*
5033848d3afa committing some missing files
koda
parents:
diff changeset
     2
 * OpenAL Bridge - a simple portable library for OpenAL interface
5033848d3afa committing some missing files
koda
parents:
diff changeset
     3
 * Copyright (c) 2009 Vittorio Giovara <vittorio.giovara@gmail.com>,
5033848d3afa committing some missing files
koda
parents:
diff changeset
     4
 *                    Mario Liebisch <mario.liebisch+hw@googlemail.com>
5033848d3afa committing some missing files
koda
parents:
diff changeset
     5
 *
5033848d3afa committing some missing files
koda
parents:
diff changeset
     6
 * This program is free software; you can redistribute it and/or modify
5033848d3afa committing some missing files
koda
parents:
diff changeset
     7
 * it under the terms of the GNU Lesser General Public License as published by
5033848d3afa committing some missing files
koda
parents:
diff changeset
     8
 * the Free Software Foundation; version 2 of the License
5033848d3afa committing some missing files
koda
parents:
diff changeset
     9
 *
5033848d3afa committing some missing files
koda
parents:
diff changeset
    10
 * This program is distributed in the hope that it will be useful,
5033848d3afa committing some missing files
koda
parents:
diff changeset
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5033848d3afa committing some missing files
koda
parents:
diff changeset
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5033848d3afa committing some missing files
koda
parents:
diff changeset
    13
 * GNU Lesser General Public License for more details.
5033848d3afa committing some missing files
koda
parents:
diff changeset
    14
 *
5033848d3afa committing some missing files
koda
parents:
diff changeset
    15
 * You should have received a copy of the GNU Lesser General Public License
5033848d3afa committing some missing files
koda
parents:
diff changeset
    16
 * along with this program; if not, write to the Free Software
5033848d3afa committing some missing files
koda
parents:
diff changeset
    17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
5033848d3afa committing some missing files
koda
parents:
diff changeset
    18
 */
5033848d3afa committing some missing files
koda
parents:
diff changeset
    19
5033848d3afa committing some missing files
koda
parents:
diff changeset
    20
#ifndef _SSOUND_H
5033848d3afa committing some missing files
koda
parents:
diff changeset
    21
#define _SSOUND_H
5033848d3afa committing some missing files
koda
parents:
diff changeset
    22
5033848d3afa committing some missing files
koda
parents:
diff changeset
    23
#include "common.h"
5033848d3afa committing some missing files
koda
parents:
diff changeset
    24
5033848d3afa committing some missing files
koda
parents:
diff changeset
    25
char SSound_load        (SSound_t* pSound, const char* cFilename);
5033848d3afa committing some missing files
koda
parents:
diff changeset
    26
void SSound_close       (SSound_t* pSound);
5033848d3afa committing some missing files
koda
parents:
diff changeset
    27
void SSound_play        (SSound_t* pSound, const char bLoop);
5033848d3afa committing some missing files
koda
parents:
diff changeset
    28
void SSound_pause       (const SSound_t* pSound);
5033848d3afa committing some missing files
koda
parents:
diff changeset
    29
void SSound_continue    (const SSound_t* pSound);
5033848d3afa committing some missing files
koda
parents:
diff changeset
    30
void SSound_stop        (SSound_t* pSound);
5033848d3afa committing some missing files
koda
parents:
diff changeset
    31
void SSound_volume      (const SSound_t* pSound, const float fPercentage);
5033848d3afa committing some missing files
koda
parents:
diff changeset
    32
5033848d3afa committing some missing files
koda
parents:
diff changeset
    33
#endif /*_SSOUND_H*/