예제 #1
0
void al_getbuffer3i( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ) {

	if (NULL == alGetBuffer3i) mogl_glunsupported("alGetBuffer3i");
	alGetBuffer3i((ALuint)mxGetScalar(prhs[0]),
		(ALenum)mxGetScalar(prhs[1]),
		(ALint*)mxGetData(prhs[2]),
		(ALint*)mxGetData(prhs[3]),
		(ALint*)mxGetData(prhs[4]));

}
예제 #2
0
value lime_al_get_buffer3i (value buffer, value param) {

    ALint val1, val2, val3;

    alGetBuffer3i (val_int (buffer), val_int (param), &val1, &val2, &val3);

    value result = alloc_array (3);
    val_array_set_i (result, 0, alloc_int(val1));
    val_array_set_i (result, 1, alloc_int(val2));
    val_array_set_i (result, 2, alloc_int(val3));
    return result;

}
예제 #3
0
파일: openal.c 프로젝트: AmesianX/RosWine
ALvoid CDECL wine_alGetBuffer3i(ALuint bid, ALenum param, ALint* value1, ALint* value2, ALint* value3)
{
    alGetBuffer3i(bid, param, value1, value2, value3);
}
예제 #4
0
파일: al.cpp 프로젝트: 2asoft/xray-16
//*****************************************************************************
// alGetBuffer3i
//*****************************************************************************
//
ALAPI ALvoid ALAPIENTRY alGetBuffer3i(ALuint bufferName, ALenum param, ALint *v1, ALint *v2, ALint *v3)
{
    AL_VOID_FXN(alGetBuffer3i(bufferName, param, v1, v2, v3));
}