module Sound::FormatLibrary::Base

Public Instance Methods

avg_bps() click to toggle source
# File lib/sound/format_library/base.rb, line 11
def avg_bps
  block_align * sample_rate
end
block_align() click to toggle source
# File lib/sound/format_library/base.rb, line 8
def block_align
  (bps >> 3) * channels
end
new_format() click to toggle source
# File lib/sound/format_library/base.rb, line 5
def new_format

end