| DemoGL::Reference::Functions::DEMOGL_SoundSystemSetElement3DAttributes |
int DEMOGL_SoundSystemSetElement3DAttributes( const int iElementCodeID, const int iElementType, SSoundElement3DAttributes * const p3DAttributes );
| 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. |
| DGL_SS_ERR_OPERATIONFAILED | The apply of the 3D attributes failed. Possible cause is that the element is not loaded with 3D enabled. |
Last changed on 18-jan-2001
©1999-2001 Solutions Design