Class: Xberg::AudioMetadata
- Inherits:
-
Object
- Object
- Xberg::AudioMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#bitrate ⇒ Integer?
readonly
Returns the value of attribute bitrate.
-
#channels ⇒ Integer?
readonly
Returns the value of attribute channels.
-
#codec ⇒ String?
readonly
Returns the value of attribute codec.
-
#container ⇒ String?
readonly
Returns the value of attribute container.
-
#duration_ms ⇒ Integer?
readonly
Returns the value of attribute duration_ms.
-
#sample_rate_hz ⇒ Integer?
readonly
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.
53 |
# File 'sig/types.rbs', line 53
def initialize: (?duration_ms: Integer, ?codec: String, ?container: String, ?sample_rate_hz: Integer, ?channels: Integer, ?bitrate: Integer) -> void
|
Instance Attribute Details
#bitrate ⇒ Integer? (readonly)
Returns the value of attribute bitrate.
51 52 53 |
# File 'sig/types.rbs', line 51 def bitrate @bitrate end |
#channels ⇒ Integer? (readonly)
Returns the value of attribute channels.
50 51 52 |
# File 'sig/types.rbs', line 50 def channels @channels end |
#codec ⇒ String? (readonly)
Returns the value of attribute codec.
47 48 49 |
# File 'sig/types.rbs', line 47 def codec @codec end |
#container ⇒ String? (readonly)
Returns the value of attribute container.
48 49 50 |
# File 'sig/types.rbs', line 48 def container @container end |
#duration_ms ⇒ Integer? (readonly)
Returns the value of attribute duration_ms.
46 47 48 |
# File 'sig/types.rbs', line 46 def duration_ms @duration_ms end |
#sample_rate_hz ⇒ Integer? (readonly)
Returns the value of attribute sample_rate_hz.
49 50 51 |
# File 'sig/types.rbs', line 49 def sample_rate_hz @sample_rate_hz end |