Class: Spotify::AudioFormat
- Defined in:
- lib/spotify/structs/audio_format.rb
Overview
Spotify::Struct for Audio Format.
Instance Attribute Summary collapse
-
#channels ⇒ Fixnum
The current value of channels.
-
#sample_rate ⇒ Fixnum
The current value of sample_rate.
-
#sample_type ⇒ :sampletype
The current value of sample_type.
Method Summary
Methods inherited from Struct
enclosing_module, #initialize, #to_h, #to_s
Methods included from TypeSafety
Constructor Details
This class inherits a constructor from Spotify::Struct
Instance Attribute Details
#channels ⇒ Fixnum
Returns the current value of channels.
7 8 9 |
# File 'lib/spotify/structs/audio_format.rb', line 7 def channels @channels end |
#sample_rate ⇒ Fixnum
Returns the current value of sample_rate.
7 8 9 |
# File 'lib/spotify/structs/audio_format.rb', line 7 def sample_rate @sample_rate end |
#sample_type ⇒ :sampletype
Returns the current value of sample_type.
7 8 9 |
# File 'lib/spotify/structs/audio_format.rb', line 7 def sample_type @sample_type end |