Skip to content

ma_device_playback_time #625

Answered by mackron
Stable-Adrian asked this question in Q&A
Discussion options

You must be logged in to vote

ma_device_playback_time() was never a thing in miniaudio. ma_data_source_get_cursor_*() is used for getting the playback position of a specific data source (ma_decoder, ma_audio_buffer, etc.). That will work for you if you only need the local running time of a specific data source. If you need a global timer, you'll need to keep track of that yourself.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Stable-Adrian
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants