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