/*****************************************************************************

GRAOUMF TRACKER 2

Copyright (c) 1996 - 2002 Laurent de Soras

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Contact the author : laurent@ohmforce.com
More information about this license : http://www.gnu.org/licenses/gpl.html

*****************************************************************************/



#if defined (SDRVDX_CURRENT_HEADER)
	#error Inclusion recursive du header SDRVDX.
#endif
#define	SDRVDX_CURRENT_HEADER

#if ! defined (SDRVDX_HEADER_INCLUDED)
#define	SDRVDX_HEADER_INCLUDED



/*\\\ INCLUDES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#include	"archi.h"
#include	"SoundDriver.h"



/*\\\ CONSTANTES PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ TYPES & STRUCTURES PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ PROTOTYPES DES FONCTIONS PUBLIQUES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

signed int cdecl	SDRVDX_init (void *param_ptr);
signed int cdecl	SDRVDX_restore (void);
signed int cdecl	SDRVDX_set_config (SoundDriver_CONFIG *config_ptr);
signed int cdecl	SDRVDX_get_config (SoundDriver_CONFIG *config_ptr);
signed int cdecl	SDRVDX_start_replay (void);
signed int cdecl	SDRVDX_stop_replay (void);
signed int cdecl	SDRVDX_set_new_frame (long frame_length);
signed int cdecl	SDRVDX_set_data (float *out_buffer_ptr [], float *out_clip_ptr);
signed int cdecl	SDRVDX_get_data (float *in_buffer_ptr []);
signed int cdecl	SDRVDX_is_playing (void);
signed int cdecl	SDRVDX_disconnect (void);
signed int cdecl	SDRVDX_connect (void);
signed int cdecl	SDRVDX_is_connected (void);
signed int cdecl	SDRVDX_get_message (char *text_0, long max_len);
signed int cdecl	SDRVDX_get_latency (void);
signed int cdecl	SDRVDX_set_latency (int t);



/*\\\ VARIABLES EXTERNES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/



/*\\\ FIN DU FICHIER \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/

#endif

#undef SDRVDX_CURRENT_HEADER
