Method: WaveFile::Reader#native_format

Defined in:
lib/wavefile/reader.rb

#native_formatObject

Public: Returns an object describing the sample format of the Wave file being read. This returns the data contained in the “fmt ” chunk of the Wave file. It will not necessarily match the format that the samples are read out as (for that, see #format).



171
172
173
# File 'lib/wavefile/reader.rb', line 171

def native_format
  @data_chunk_reader.raw_native_format
end