playerStateChanged()

Emitted when a configuration setting or the playback status has changed for a player.

Synopsis:

#include <qplayer/qplayer.h>

void playerStateChanged( PlayerState playerState );

Arguments:

playerState
The updated state of the player, which includes its latest shuffle mode, repeat mode, playback rate, and playback status (e.g., PLAYING, IDLE).

Description:

Emitted when a configuration setting or the playback status has changed for a player. The object in playerState stores the latest state information of the affected player.