Class: Ffprober::AudioStream

Inherits:
Stream
  • Object
show all
Defined in:
lib/ffprober/audio_stream.rb

Instance Attribute Summary collapse

Attributes inherited from Stream

#avg_frame_rate, #codec_long_name, #codec_name, #codec_tag, #codec_tag_string, #codec_time_base, #codec_type, #duration, #nb_frames, #r_frame_rate, #start_time, #time_base

Method Summary

Methods inherited from Stream

#initialize

Constructor Details

This class inherits a constructor from Ffprober::Stream

Instance Attribute Details

#bits_per_sampleObject

Returns the value of attribute bits_per_sample.



3
4
5
# File 'lib/ffprober/audio_stream.rb', line 3

def bits_per_sample
  @bits_per_sample
end

#channelsObject

Returns the value of attribute channels.



3
4
5
# File 'lib/ffprober/audio_stream.rb', line 3

def channels
  @channels
end

#sample_fmtObject

Returns the value of attribute sample_fmt.



3
4
5
# File 'lib/ffprober/audio_stream.rb', line 3

def sample_fmt
  @sample_fmt
end

#sample_rateObject

Returns the value of attribute sample_rate.



3
4
5
# File 'lib/ffprober/audio_stream.rb', line 3

def sample_rate
  @sample_rate
end