void al_getbuffer3f( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ) { if (NULL == alGetBuffer3f) mogl_glunsupported("alGetBuffer3f"); alGetBuffer3f((ALuint)mxGetScalar(prhs[0]), (ALenum)mxGetScalar(prhs[1]), (ALfloat*)mxGetData(prhs[2]), (ALfloat*)mxGetData(prhs[3]), (ALfloat*)mxGetData(prhs[4])); }
value lime_al_get_source3f (value source, value param) { ALfloat val1, val2, val3; alGetBuffer3f (val_int (source), val_int (param), &val1, &val2, &val3); value result = alloc_array (3); val_array_set_i (result, 0, alloc_float (val1)); val_array_set_i (result, 1, alloc_float (val2)); val_array_set_i (result, 2, alloc_float (val3)); return result; }
value lime_al_get_buffer3f (int buffer, int param) { ALfloat val1, val2, val3; alGetBuffer3f (buffer, param, &val1, &val2, &val3); value result = alloc_array (3); val_array_set_i (result, 0, alloc_float (val1)); val_array_set_i (result, 1, alloc_float (val2)); val_array_set_i (result, 2, alloc_float (val3)); return result; }
ALvoid CDECL wine_alGetBuffer3f(ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3) { alGetBuffer3f(bid, param, value1, value2, value3); }
//***************************************************************************** // alGetBuffer3f //***************************************************************************** // ALAPI ALvoid ALAPIENTRY alGetBuffer3f(ALuint bufferName, ALenum param, ALfloat *v1, ALfloat *v2, ALfloat *v3) { AL_VOID_FXN(alGetBuffer3f(bufferName, param, v1, v2, v3)); }