Class: Spotify::AudioBufferStats

Inherits:
Struct
  • Object
show all
Defined in:
lib/spotify/structs/audio_buffer_stats.rb

Overview

Spotify::Struct for Audio Buffer Stats.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

enclosing_module, #initialize, #to_h, #to_s

Methods included from TypeSafety

#to_native, #type_class

Constructor Details

This class inherits a constructor from Spotify::Struct

Instance Attribute Details

#samplesFixnum

Returns the current value of samples.

Returns:

  • (Fixnum)

    the current value of samples



6
7
8
# File 'lib/spotify/structs/audio_buffer_stats.rb', line 6

def samples
  @samples
end

#stutterFixnum

Returns the current value of stutter.

Returns:

  • (Fixnum)

    the current value of stutter



6
7
8
# File 'lib/spotify/structs/audio_buffer_stats.rb', line 6

def stutter
  @stutter
end