MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/xstudio / serialise

Method serialise

src/session/src/session.cpp:29–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29JsonStore Session::serialise() const {
30 JsonStore jsn;
31
32 jsn["container"] = Container::serialise();
33 jsn["media_rate"] = media_rate_;
34 jsn["playhead_rate"] = playhead_rate_;
35
36 // identify actors that are media..
37 jsn["playlists"] = playlists_.serialise();
38 jsn["current_playlist_uuid"] = current_playlist_uuid_;
39 jsn["viewed_playlist_uuid"] = viewed_playlist_uuid_;
40
41 return jsn;
42}
43
44void Session::set_filepath(const caf::uri &path) {
45 filepath_ = path;

Callers 2

TESTFunction · 0.45
message_handlerMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36