Pocket-G's Dynamic Sound Mixer Library

This is a dynamic link library (DLL) version of Pocket-G's multi-channel dynamic sound mixing engine, included with one channel of music playback. PgSnd.dll was developed for Pocket-G use since Windows CE doesn't support such a feature. Most mordern gaming applications use synthetic audio (where sound seeds are dynamically manipulated and mixed together randomly). So with this library, pgSnd.dll, you will be able efficiently create the desired sounds for your gaming applications.

This document covers the following topics:

About pgSnd.dll

pgSnd.dll is a multi-channel run-time wave mixing engine, in the form of the Dynamic Linking Library (DLL), MOD music player is included. It provides APIs suitable for dynamic sound generation. With this library, you can easly produce your desired high quality game products.

Why use pgSnd.dll?

pgSnd.dll short preferences

APIs provided by pgSnd.dll

BOOL pg_WaveInit(HWND hWndApp, int nMixChannels, int nPlaybackRate, int nMixbufferSize);
void
pg_WaveClose(void);
void
pg_WaveLoadRes(HINSTANCE hModule, int nResID);
void
pg_WaveLoadFile(TCHAR *szFileName);
void
pg_WavePlay(int nChannel, BOOL bLoop);
void
pg_WaveStop(int nChannel);
void
pg_WaveActivate(BOOL bActv);
void
pg_WaveSetMainVolume(int nVol);
void
pg_WaveSetChannelVolume(int nChannel, int nVolL, int nVolR);

BOOL pg_LoadMusic(TCHAR* szFileName);
BOOL
pg_PlayMusic(void);
BOOL
pg_StopMusic(void);
void
pg_SetMusicVolume(int);

The full documentation about the APIs reference and development guide will be send to you after your order has been paced and released.

Uses license agreement and how to register?

There are three license types available for using this library;

  1. Free license. This license is free but the library will be limited to 4 mixing channels. The music player is not included. To get this library, please visit it’s home page located at;
  2. http://www.pocket-g.com/products/pgsnd/index.html

  3. Development license. This license is free but the library will be limited to 8 mixing channels. The using limitation is described in our Development License Agreement. To get this library, please e-mail your request to ng@pocket-g.com. Please identify yourself and your company. We will send the license and/or the library to you via e-mail.
  4. Commercial license. This license is per product license. You need to register one license per application software product. The first license cost is US$99.95. The next license can be discounted according to the size of your order, from 30%-50% off. If you have any question, please fell free to e-mail us at ng@pocket-g.com.

Home Page http://www.pocket-g.com

?