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.
1557 |
# File 'sig/types.rbs', line 1557
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.
1555 1556 1557 |
# File 'sig/types.rbs', line 1555 def bitrate @bitrate end |
#channels ⇒ Integer?
Returns the value of attribute channels.
1554 1555 1556 |
# File 'sig/types.rbs', line 1554 def channels @channels end |
#codec ⇒ String?
Returns the value of attribute codec.
1551 1552 1553 |
# File 'sig/types.rbs', line 1551 def codec @codec end |
#container ⇒ String?
Returns the value of attribute container.
1552 1553 1554 |
# File 'sig/types.rbs', line 1552 def container @container end |
#duration_ms ⇒ Integer?
Returns the value of attribute duration_ms.
1550 1551 1552 |
# File 'sig/types.rbs', line 1550 def duration_ms @duration_ms end |
#sample_rate_hz ⇒ Integer?
Returns the value of attribute sample_rate_hz.
1553 1554 1555 |
# File 'sig/types.rbs', line 1553 def sample_rate_hz @sample_rate_hz end |