Class: Xberg::AudioMetadata
- Inherits:
-
Object
- Object
- Xberg::AudioMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#bitrate ⇒ Integer?
Returns the value of attribute bitrate.
-
#channels ⇒ Integer?
Returns the value of attribute channels.
-
#codec ⇒ String?
Returns the value of attribute codec.
-
#container ⇒ String?
Returns the value of attribute container.
-
#duration_ms ⇒ Integer?
Returns the value of attribute duration_ms.
-
#sample_rate_hz ⇒ Integer?
Returns the value of attribute sample_rate_hz.
Instance Method Summary collapse
-
#initialize ⇒ AudioMetadata
constructor
A new instance of AudioMetadata.
Constructor Details
#initialize ⇒ AudioMetadata
Returns a new instance of AudioMetadata.
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
#bitrate ⇒ Integer?
Returns the value of attribute bitrate.
1617 1618 1619 |
# File 'sig/types.rbs', line 1617 def bitrate @bitrate end |
#channels ⇒ Integer?
Returns the value of attribute channels.
1616 1617 1618 |
# File 'sig/types.rbs', line 1616 def channels @channels end |
#codec ⇒ String?
Returns the value of attribute codec.
1613 1614 1615 |
# File 'sig/types.rbs', line 1613 def codec @codec end |
#container ⇒ String?
Returns the value of attribute container.
1614 1615 1616 |
# File 'sig/types.rbs', line 1614 def container @container end |
#duration_ms ⇒ Integer?
Returns the value of attribute duration_ms.
1612 1613 1614 |
# File 'sig/types.rbs', line 1612 def duration_ms @duration_ms end |
#sample_rate_hz ⇒ Integer?
Returns the value of attribute sample_rate_hz.
1615 1616 1617 |
# File 'sig/types.rbs', line 1615 def sample_rate_hz @sample_rate_hz end |