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.
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
#bitrate ⇒ Integer?
Returns the value of attribute bitrate.
1500 1501 1502 |
# File 'sig/types.rbs', line 1500 def bitrate @bitrate end |
#channels ⇒ Integer?
Returns the value of attribute channels.
1499 1500 1501 |
# File 'sig/types.rbs', line 1499 def channels @channels end |
#codec ⇒ String?
Returns the value of attribute codec.
1496 1497 1498 |
# File 'sig/types.rbs', line 1496 def codec @codec end |
#container ⇒ String?
Returns the value of attribute container.
1497 1498 1499 |
# File 'sig/types.rbs', line 1497 def container @container end |
#duration_ms ⇒ Integer?
Returns the value of attribute duration_ms.
1495 1496 1497 |
# File 'sig/types.rbs', line 1495 def duration_ms @duration_ms end |
#sample_rate_hz ⇒ Integer?
Returns the value of attribute sample_rate_hz.
1498 1499 1500 |
# File 'sig/types.rbs', line 1498 def sample_rate_hz @sample_rate_hz end |