Class: Ffprober::AudioStream
- Defined in:
- lib/ffprober/audio_stream.rb
Instance Attribute Summary collapse
-
#bits_per_sample ⇒ Object
Returns the value of attribute bits_per_sample.
-
#channels ⇒ Object
Returns the value of attribute channels.
-
#sample_fmt ⇒ Object
Returns the value of attribute sample_fmt.
-
#sample_rate ⇒ Object
Returns the value of attribute sample_rate.
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
Constructor Details
This class inherits a constructor from Ffprober::Stream
Instance Attribute Details
#bits_per_sample ⇒ Object
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 |
#channels ⇒ Object
Returns the value of attribute channels.
3 4 5 |
# File 'lib/ffprober/audio_stream.rb', line 3 def channels @channels end |
#sample_fmt ⇒ Object
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_rate ⇒ Object
Returns the value of attribute sample_rate.
3 4 5 |
# File 'lib/ffprober/audio_stream.rb', line 3 def sample_rate @sample_rate end |