Example #1
0
void al_bufferiv( int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[] ) {

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

}
Example #2
0
value lime_al_bufferiv (value buffer, value param, value values) {

    int *data = val_array_int (values);

    if (data) {

        alBufferiv (val_int (buffer), val_int (param), data);

    }

    return alloc_null ();

}
Example #3
0
	void lime_al_bufferiv (int buffer, int param, value values) {
		
		if (val_is_null (values) == false) {
			
			int size = val_array_size (values);
			ALint* data = new ALint[size];
			
			for (int i = 0; i < size; ++i) {
				
				data[i] = (ALint)val_int( val_array_i (values, i) );
				
			}
			
			alBufferiv (buffer, param, data);
			
			delete[] data;
			
		}
		
	}
Example #4
0
ALvoid CDECL wine_alBufferiv(ALuint bid, ALenum param, const ALint* values)
{
    alBufferiv(bid, param, values);
}
Example #5
0
//*****************************************************************************
// alBufferiv
//*****************************************************************************
//
ALAPI ALvoid ALAPIENTRY alBufferiv(ALuint bufferName, ALenum param, const ALint* values)
{
    AL_VOID_FXN(alBufferiv(bufferName, param, values));
}