decoder_api: added function decoder_timestamp()
Remove the data_time parameter from decoder_data(). This patch eliminates the timestamp counting in most decoder plugins, because the MPD core will do it automatically by default.
This commit is contained in:
@@ -30,6 +30,11 @@ struct decoder {
|
||||
|
||||
struct pcm_convert_state conv_state;
|
||||
|
||||
/**
|
||||
* The time stamp of the next data chunk, in seconds.
|
||||
*/
|
||||
double timestamp;
|
||||
|
||||
bool seeking;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user