function value = alGetBufferi( bid, param )

% alGetBufferi  Interface to OpenAL function alGetBufferi
%
% usage:  value = alGetBufferi( bid, param )
%
% C function:  void alGetBufferi(ALuint bid, ALenum param, ALint* value)

% 28-Mar-2011 -- created (generated automatically from header files)

% ---allocate---
% ---protected---

if nargin~=2
    error('invalid number of arguments');
end

value = int32([0,0]);
moalcore( 'alGetBufferi', bid, param, value );
value = value(1);

return
