| DemoGL::Reference::Functions::DEMOGL_SoundSystemFreeElement |
int DEMOGL_SoundSystemFreeElement( const int iElementCodeID, const int iElementType );
| Sound element type | Description |
| DGL_SS_MP3ELEMENT | Sound element stored in the MP3 standard, i.e. MPEG v1.0 and v2.0 layer3. |
| DGL_SS_MODELEMENT | Sound element stored in one of the following formats: MOD, XM, IT, S3M or MTM. |
| DGL_SS_SAMPLEELEMENT | Sound element stored in the standard windows PCM format, or compressed with a custom CODEC. When you use a custom CODEC, this CODEC is required to be installed on the user's computer for the WAV to be decoded. So, you should either distribute the CODEC with your software, or use a CODEC that comes with Windows (eg. Microsoft ADPCM). |
| Error code | Description |
| DGL_SS_ERR_ILLEGALELEMENTID | The iElementCodeID value is not found as a loaded sound element. |
| DGL_SS_ERR_ILLEGALELEMENTTYPE | The iElementType specified is not known. |
Last changed on 18-jan-2001
©1999-2001 Solutions Design