Class: Media::Format
- Inherits:
-
Struct
- Object
- Struct
- Media::Format
- Defined in:
- lib/gst-kitchen/media.rb
Constant Summary collapse
- Mp3 =
self.new("mp3", "mp3", "audio/mpeg")
- M4a =
self.new("aac", "m4a", "audio/x-m4a")
- Opus =
self.new("opus", "opus", "audio/opus")
Instance Attribute Summary collapse
-
#file_ext ⇒ Object
Returns the value of attribute file_ext.
-
#format ⇒ Object
Returns the value of attribute format.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
Instance Attribute Details
#file_ext ⇒ Object
Returns the value of attribute file_ext
4 5 6 |
# File 'lib/gst-kitchen/media.rb', line 4 def file_ext @file_ext end |
#format ⇒ Object
Returns the value of attribute format
4 5 6 |
# File 'lib/gst-kitchen/media.rb', line 4 def format @format end |
#mime_type ⇒ Object
Returns the value of attribute mime_type
4 5 6 |
# File 'lib/gst-kitchen/media.rb', line 4 def mime_type @mime_type end |