No, the only way to get audio for a Spotify track is using libspotify's audio delivery callback, which delivers raw PCM data.
Can I use libspotify to play audio without using a low level audio API?
-
24-06-2022 - |
Question
Is it possible to use libspotify to obtain the URI of a track and play it using a higher level Media Player? For instance, I'm interested in doing this with a QMediaPlayer in Qt. I ask this because one of Spotify's sample applications uses lower level API's to write the samples directly.
I'd rather do this simpler, similar to how Grooveshark's API works by returning a URL for the track and simply setting that on the high level media player.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow