def callback(player, stream_data, elapsed, duration, user_param1, ...)
The 'tick' signal is emitted repeatedly while the stream is playing. Signal handlers can use this to update UI and to prepare new streams for crossfade or gapless playback.
player : |
instance of RB.Player that is emitting the signal |
stream_data : |
the data associated with the stream |
elapsed : |
playback position in the stream (in nanoseconds) |
duration : |
current estimate of the duration of the stream (in nanoseconds) |
user_param1 : |
first user parameter (if any) specified with the connect() method |
... : |
additional user parameters (if any) |