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)


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

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)


1500
1501
1502
# File 'sig/types.rbs', line 1500

def bitrate
  @bitrate
end

#channelsInteger?

Returns the value of attribute channels.

Returns:

  • (Integer, nil)


1499
1500
1501
# File 'sig/types.rbs', line 1499

def channels
  @channels
end

#codecString?

Returns the value of attribute codec.

Returns:

  • (String, nil)


1496
1497
1498
# File 'sig/types.rbs', line 1496

def codec
  @codec
end

#containerString?

Returns the value of attribute container.

Returns:

  • (String, nil)


1497
1498
1499
# File 'sig/types.rbs', line 1497

def container
  @container
end

#duration_msInteger?

Returns the value of attribute duration_ms.

Returns:

  • (Integer, nil)


1495
1496
1497
# File 'sig/types.rbs', line 1495

def duration_ms
  @duration_ms
end

#sample_rate_hzInteger?

Returns the value of attribute sample_rate_hz.

Returns:

  • (Integer, nil)


1498
1499
1500
# File 'sig/types.rbs', line 1498

def sample_rate_hz
  @sample_rate_hz
end