Class: Media::Format

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#file_extObject

Returns the value of attribute file_ext

Returns:

  • (Object)

    the current value of file_ext



4
5
6
# File 'lib/gst-kitchen/media.rb', line 4

def file_ext
  @file_ext
end

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



4
5
6
# File 'lib/gst-kitchen/media.rb', line 4

def format
  @format
end

#mime_typeObject

Returns the value of attribute mime_type

Returns:

  • (Object)

    the current value of mime_type



4
5
6
# File 'lib/gst-kitchen/media.rb', line 4

def mime_type
  @mime_type
end