Class: Xberg::AudioMetadata

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAudioMetadata

Returns a new instance of AudioMetadata.

Parameters:

  • duration_ms: (Integer)
  • codec: (String)
  • container: (String)
  • sample_rate_hz: (Integer)
  • channels: (Integer)
  • bitrate: (Integer)


1619
# File 'sig/types.rbs', line 1619

def initialize: (?duration_ms: Integer, ?codec: String, ?container: String, ?sample_rate_hz: Integer, ?channels: Integer, ?bitrate: Integer) -> void

Instance Attribute Details

#bitrateInteger?

Returns the value of attribute bitrate.

Returns:

  • (Integer, nil)


1617
1618
1619
# File 'sig/types.rbs', line 1617

def bitrate
  @bitrate
end

#channelsInteger?

Returns the value of attribute channels.

Returns:

  • (Integer, nil)


1616
1617
1618
# File 'sig/types.rbs', line 1616

def channels
  @channels
end

#codecString?

Returns the value of attribute codec.

Returns:

  • (String, nil)


1613
1614
1615
# File 'sig/types.rbs', line 1613

def codec
  @codec
end

#containerString?

Returns the value of attribute container.

Returns:

  • (String, nil)


1614
1615
1616
# File 'sig/types.rbs', line 1614

def container
  @container
end

#duration_msInteger?

Returns the value of attribute duration_ms.

Returns:

  • (Integer, nil)


1612
1613
1614
# File 'sig/types.rbs', line 1612

def duration_ms
  @duration_ms
end

#sample_rate_hzInteger?

Returns the value of attribute sample_rate_hz.

Returns:

  • (Integer, nil)


1615
1616
1617
# File 'sig/types.rbs', line 1615

def sample_rate_hz
  @sample_rate_hz
end