Audio¶
-
class
spotify.
AudioBufferStats
[source]¶ Stats about the application’s audio buffers.
-
samples
¶ Number of samples currently in the buffer.
-
stutter
¶ Number of stutters (audio dropouts) since the last query.
-
-
class
spotify.
AudioFormat
(sp_audioformat)[source]¶ A Spotify audio format object.
You’ll never need to create an instance of this class yourself, but you’ll get
AudioFormat
objects as theaudio_format
argument to themusic_delivery
callback.-
sample_type
¶ The
SampleType
, currently alwaysSampleType.INT16_NATIVE_ENDIAN
.
-
sample_rate
¶ The sample rate, typically 44100 Hz.
-
channels
¶ The number of audio channels, typically 2.
-