| 62 | Project::~Project() { } |
| 63 | |
| 64 | void Project::UpdateRelativePaths() { |
| 65 | using namespace std::string_view_literals; |
| 66 | context->ass->Properties.audio_file = context->path->MakeRelative(audio_file, "?script"sv).generic_string(); |
| 67 | context->ass->Properties.video_file = context->path->MakeRelative(video_file, "?script"sv).generic_string(); |
| 68 | context->ass->Properties.timecodes_file = context->path->MakeRelative(timecodes_file, "?script"sv).generic_string(); |
| 69 | context->ass->Properties.keyframes_file = context->path->MakeRelative(keyframes_file, "?script"sv).generic_string(); |
| 70 | } |
| 71 | |
| 72 | void Project::ReloadAudio() { |
| 73 | if (audio_provider) |
nothing calls this directly
no test coverage detected