Skip to content

Added 250B and 250C opcodes.#311

Merged
MiranDMC merged 2 commits intomasterfrom
new_autio_seek_opcode
Mar 20, 2025
Merged

Added 250B and 250C opcodes.#311
MiranDMC merged 2 commits intomasterfrom
new_autio_seek_opcode

Conversation

@MiranDMC
Copy link
Copy Markdown
Collaborator

No description provided.

@MiranDMC MiranDMC requested a review from x87 March 20, 2025 19:55
Comment thread cleo_plugins/Audio/Audio.cpp Outdated
set_audio_stream_progress stream {progress} 0.5
progress = -1.0
progress = get_audio_stream_progress_seconds stream
assert_rangef(progress, 3.6, 3.8) // test file is about 7.4 seconds long
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can also test progress_in_seconds after setting it in seconds. should be same?

Copy link
Copy Markdown
Collaborator Author

@MiranDMC MiranDMC Mar 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With some margin for error. New opcodes implementation bases on combination of get/set progress and get length, so it is safer to perform verification using simpler tools. There is also possibility that same error will be mirrored in both getter/setter opcode pair.

@MiranDMC MiranDMC requested a review from x87 March 20, 2025 20:55
@MiranDMC MiranDMC merged commit b26a1f9 into master Mar 20, 2025
1 check passed
@MiranDMC MiranDMC deleted the new_autio_seek_opcode branch March 20, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants