向 libspotify 句柄添加多个回调是否有效?IE:
IE
sp_playlist_callbacks pl_callbacks1 = {
.tracks_added = &tracks_addedA,
};
sp_playlist_callbacks pl_callbacks2 = {
.tracks_added = &tracks_addedB,
};
sp_playlist_add_callbacks(pl, &pl_callbacks1, NULL);
sp_playlist_add_callbacks(pl, &pl_callbacks2, NULL);
那么,tracks_addedA 和tracks_addedB 会被libspotify 调用吗?这似乎有效,但我不知道它是偶然还是设计?:)