61 typedef MediaAccessFacade::ChanHandle ChanHandle;
69 vector<ChanDesc> channels;
74 globalDesc.
length.accept (Mutation::changeDuration(length));
81 channels.push_back (
ChanDesc (name,
id, genH()));
91 return reinterpret_cast<ChanHandle
> (++_i_);
96 using steam::mobject::session::test::LENGTH_TestClip;
104 (*this)[
"test-1"].globalLength(LENGTH_TestClip).channel(
"video",
"ID");
106 (*this)[
"test-2"].globalLength(LENGTH_TestClip).channel(
"video",
"H264")
107 .channel(
"audio-L",
"PCM")
108 .channel(
"audio-R",
"PCM");
109 (*this)[
"test-3"].globalLength(LENGTH_TestClip).channel(
"audio",
"PCM");
110 (*this)[
"test-4"].globalLength(LENGTH_TestClip).channel(
"audio-W",
"PCM")
111 .channel(
"audio-X",
"PCM")
112 .channel(
"audio-Y",
"PCM")
113 .channel(
"audio-Z",
"PCM");
120 const_iterator i = find (key);
136 throw Invalid (
"empty filename passed to MediaAccessFacade.");
138 if (!testCases().known(name))
139 throw Invalid (
"unable to use media file \""+name+
"\"." 140 "Hint: you're using a test-mock file access, " 141 "which responds only to some magical names.");
143 return testCases()[
name].globalDesc;
150 Response
const& res (*reinterpret_cast<Response*> (&h));
152 if (res.channels.size() <= chanNo)
155 return res.channels[chanNo];
Modifying time and timecode values.
inline string literal This is a marker type to indicate that
Interface: an opaque change imposed onto some time value.
Access point to singletons and other kinds of dependencies designated by type.
Derived specific exceptions within Lumiera's exception hierarchy.
Marker types to indicate a literal string and a Symbol.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...
A stub implementation of the Clip interface for unit testing.
Singleton services and Dependency Injection.
Duration is the internal Lumiera time metric.
Vault-Layer implementation namespace root.
Description of one channel found in a media file; result of querying the channel. ...