Esempio n. 1
0
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]));

}
Esempio n. 2
0
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;

}
Esempio n. 3
0
	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;
		
	}
Esempio n. 4
0
ALvoid CDECL wine_alGetBuffer3f(ALuint bid, ALenum param, ALfloat* value1, ALfloat* value2, ALfloat* value3)
{
    alGetBuffer3f(bid, param, value1, value2, value3);
}
Esempio n. 5
0
//*****************************************************************************
// alGetBuffer3f
//*****************************************************************************
//
ALAPI ALvoid ALAPIENTRY alGetBuffer3f(ALuint bufferName, ALenum param, ALfloat *v1, ALfloat *v2, ALfloat *v3)
{
    AL_VOID_FXN(alGetBuffer3f(bufferName, param, v1, v2, v3));
}