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.
1584 |
# File 'sig/types.rbs', line 1584
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.
1582 1583 1584 |
# File 'sig/types.rbs', line 1582 def bitrate @bitrate end |
#channels ⇒ Integer?
Returns the value of attribute channels.
1581 1582 1583 |
# File 'sig/types.rbs', line 1581 def channels @channels end |
#codec ⇒ String?
Returns the value of attribute codec.
1578 1579 1580 |
# File 'sig/types.rbs', line 1578 def codec @codec end |
#container ⇒ String?
Returns the value of attribute container.
1579 1580 1581 |
# File 'sig/types.rbs', line 1579 def container @container end |
#duration_ms ⇒ Integer?
Returns the value of attribute duration_ms.
1577 1578 1579 |
# File 'sig/types.rbs', line 1577 def duration_ms @duration_ms end |
#sample_rate_hz ⇒ Integer?
Returns the value of attribute sample_rate_hz.
1580 1581 1582 |
# File 'sig/types.rbs', line 1580 def sample_rate_hz @sample_rate_hz end |