Class: CoreAudio::AudioBuffer

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/core_audio.rb

CoreAudioTypes.h collapse

Instance Method Details

#bytesString

Returns the raw bytes.

Returns:

  • (String)

    the raw bytes



16
17
18
# File 'lib/core_audio.rb', line 16

def bytes
    self[:mData].get_bytes(0, self[:mDataByteSize])
end