Crossfire Client, Trunk  R20330
sndproto.h
Go to the documentation of this file.
1 #ifndef _SNDPROTO_H
2 #define _SNDPROTO_H
3 
4 extern int StdinCmd(char *data, int len);
5 extern int init();
6 extern int sound_to_soundnum(const char *name, guint8 type);
7 extern int type_to_soundtype(guint8 type);
8 extern void sdl_mixer_server();
9 
10 #endif
void sdl_mixer_server()
Implement the SDL_mixer sound server.
Definition: cfsndserv.c:375
int sound_to_soundnum(const char *name, guint8 type)
Convert a sound name to a sound number to help with the transition of the sound server from sound sup...
Definition: parser.c:31
int StdinCmd(char *data, int len)
int type_to_soundtype(guint8 type)
Convert a legacy sound type to the sound2 equivalent.
Definition: parser.c:52
char * name
Definition: image.c:39
int init()
Initialize sound server.
Definition: init.c:94