Burgestrand / spotify

Low-level Ruby bindings for libspotify, the official Spotify C API
https://rubygems.org/gems/spotify
Other
147 stars 17 forks source link

Invalid sp_session_config struct on Linux #11

Closed Burgestrand closed 12 years ago

Burgestrand commented 12 years ago

libspotify have different struct layouts on different platforms, mainly because of certain things being supported in different ways. Some kind of feature detection (or platform detection) needs to be made to ensure this does not crop up again. The tests should probably test against different platform API headers as well.

Also see Burgestrand/Hallon#125 for a more concrete explanation of this issue.