Class: MediaInfoNative::AudioStream
Constant Summary
Constants inherited
from BaseStream
BaseStream::TYPES
Instance Method Summary
collapse
Methods inherited from BaseStream
#stream_type
#mediainfo_attr_reader, #mediainfo_date_reader, #mediainfo_duration_reader, #mediainfo_int_reader, #supported_attribute, #supported_attributes
Instance Method Details
#mono? ⇒ Boolean
36
|
# File 'lib/mediainfo-native/streams/audio.rb', line 36
def mono?; 1 == channels; end
|
#stereo? ⇒ Boolean
35
|
# File 'lib/mediainfo-native/streams/audio.rb', line 35
def stereo?; 2 == channels; end
|