Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
MiniFmod.h
Package: OpenGL动画演示(包含代码).rar [view]
Upload User: sz83729876
Upload Date: 2013-03-07
Package Size: 4140k
Code Size: 3k
Category:
OpenGL program
Development Platform:
Windows_Unix
- /******************************************************************************/
- /* MINIFMOD.H */
- /* ---------------- */
- /* MiniFMOD public source code release. */
- /* This source is provided as-is. Firelight Multimedia will not support */
- /* or answer questions about the source provided. */
- /* MiniFMOD Sourcecode is copyright (c) 2000, Firelight Multimedia. */
- /* MiniFMOD Sourcecode is in no way representative of FMOD 3 source. */
- /* Firelight Multimedia is a registered business name. */
- /* This source must not be redistributed without this notice. */
- /******************************************************************************/
- //==========================================================================================
- // MINIFMOD Main header file. Copyright (c), FireLight Multimedia 2000.
- // Based on FMOD, copyright (c), FireLight Multimedia 2000.
- //==========================================================================================
- #ifndef _MINIFMOD_H_
- #define _MINIFMOD_H_
- //===============================================================================================
- //= DEFINITIONS
- //===============================================================================================
- // fmod defined types
- typedef struct FMUSIC_MODULE FMUSIC_MODULE;
- //===============================================================================================
- //= FUNCTION PROTOTYPES
- //===============================================================================================
- #ifdef __cplusplus
- extern "C" {
- #endif
- // ==================================
- // Initialization / Global functions.
- // ==================================
- typedef void (*SAMPLELOADCALLBACK)(void *buff, int lenbytes, int numbits, int instno, int sampno);
- typedef void (*FMUSIC_CALLBACK)(FMUSIC_MODULE *mod, unsigned char param);
- // this must be called before FSOUND_Init!
- void FSOUND_File_SetCallbacks(unsigned int (*OpenCallback)(char *name),
- void (*CloseCallback)(unsigned int handle),
- int (*ReadCallback)(void *buffer, int size, unsigned int handle),
- void (*SeekCallback)(unsigned int handle, int pos, signed char mode),
- int (*TellCallback)(unsigned int handle));
- signed char FSOUND_Init(int mixrate, int vcmmode);
- void FSOUND_Close();
- // =============================================================================================
- // FMUSIC API
- // =============================================================================================
- // Song management / playback functions.
- // =====================================
- FMUSIC_MODULE * FMUSIC_LoadSong(char *data, SAMPLELOADCALLBACK sampleloadcallback);
- signed char FMUSIC_FreeSong(FMUSIC_MODULE *mod);
- signed char FMUSIC_PlaySong(FMUSIC_MODULE *mod);
- signed char FMUSIC_StopSong(FMUSIC_MODULE *mod);
- // Runtime song information.
- // =========================
- int FMUSIC_GetOrder(FMUSIC_MODULE *mod);
- int FMUSIC_GetRow(FMUSIC_MODULE *mod);
- unsigned int FMUSIC_GetTime(FMUSIC_MODULE *mod);
- #ifdef __cplusplus
- }
- #endif
- #endif