Gambas Documentation - /comp/gb.openal/al/getbufferi

# Al.GetBufferi (gb.openal)

Static Function GetBufferi ( Buffer As Integer, Param As Integer ) As Integer

Return the value of the Param property of the Buffer buffer as an Integer.

Param can be one of the following constant:

- Al.FREQUENCY for the buffer frequency in Hz.

- Al.BITS for the buffer bit depth.

- Al.CHANNELS for the number of channels in the buffer.

- Al.SIZE for the buffer size in bytes.