Changelog
splayerapi-v5
v.266
- New API:
console_log_callbackadded tosplayerapi-5.hto allow setting a custom log callback function for SDK console logs. Needs to be used with the new APIcreate_with_log_handleradded tosplayerapi-5.hto create ansplayer_tinstance with a custom log handler.example_metadata.chas been updated to demonstrate its usage. - Updated ALSA Example: The ALSA example has been updated to easier follow along and demonstrate how to properly set up sound output with best practices.
v.260
- Deprecation:
loop_iterationhas been deprecated. Instead, useshould_exitto poll if the application should exit or not. - Updated Examples: All examples have been updated to remove the use of
loop_iterationand instead useshould_exit.
v.253
- New Enum:
splayer_auth_status_tadded tosplayer_auth_api-1.hto provide the last known authentication status of the player. - Deprecation:
is_pairedfunction has been deprecated. It is replaced with a new apiget_auth_status()which provides the last known authentication status.
v.218
- New Struct:
splayer_soundzone_tinsplayer_auth_api-1.hhas been added, containing information regarding a sound zone name and ID. - New API:
get_soundzone&free_soundzoneadded insplayer_auth_api-1.hto return the soundzone information of the player and free the result. - New API:
unpairinsplayer_auth_api-1.hadded to unpair player from currently paired sounzone.
v.213
- New Function:
splayer_pair_with_code_syncadded tosplayer_auth_api-1.h. This is a convenience function that combinesinitiate_pair_with_codeandget_pairing_resultuntil a result is available. - Breaking change: Hard pairing has been removed from the API. From this version onwards, only soft pairing is supported. For details, please refer to
splayer_auth_api-1.hand our pairing page. - Example Added: An interactive web pairing example has been added to
example_auth.c.
v.163
- SDK Version Update: Version update from
splayerapiv4 to v5. The old version v4 will no longer receive major updates.