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.
1513 |
# File 'sig/types.rbs', line 1513
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.
1511 1512 1513 |
# File 'sig/types.rbs', line 1511 def bitrate @bitrate end |
#channels ⇒ Integer?
Returns the value of attribute channels.
1510 1511 1512 |
# File 'sig/types.rbs', line 1510 def channels @channels end |
#codec ⇒ String?
Returns the value of attribute codec.
1507 1508 1509 |
# File 'sig/types.rbs', line 1507 def codec @codec end |
#container ⇒ String?
Returns the value of attribute container.
1508 1509 1510 |
# File 'sig/types.rbs', line 1508 def container @container end |
#duration_ms ⇒ Integer?
Returns the value of attribute duration_ms.
1506 1507 1508 |
# File 'sig/types.rbs', line 1506 def duration_ms @duration_ms end |
#sample_rate_hz ⇒ Integer?
Returns the value of attribute sample_rate_hz.
1509 1510 1511 |
# File 'sig/types.rbs', line 1509 def sample_rate_hz @sample_rate_hz end |