52 typedef MediaAccessFacade::ChanHandle ChanHandle;
60 vector<ChanDesc> channels;
65 globalDesc.
length.accept (Mutation::changeDuration(length));
72 channels.push_back (
ChanDesc (name,
id, genH()));
82 return reinterpret_cast<ChanHandle
> (++_i_);
87 using steam::mobject::session::test::LENGTH_TestClip;
95 (*this)[
"test-1"].globalLength(LENGTH_TestClip).channel(
"video",
"ID");
97 (*this)[
"test-2"].globalLength(LENGTH_TestClip).channel(
"video",
"H264")
98 .channel(
"audio-L",
"PCM")
99 .channel(
"audio-R",
"PCM");
100 (*this)[
"test-3"].globalLength(LENGTH_TestClip).channel(
"audio",
"PCM");
101 (*this)[
"test-4"].globalLength(LENGTH_TestClip).channel(
"audio-W",
"PCM")
102 .channel(
"audio-X",
"PCM")
103 .channel(
"audio-Y",
"PCM")
104 .channel(
"audio-Z",
"PCM");
111 const_iterator i = find (key);
127 throw Invalid (
"empty filename passed to MediaAccessFacade.");
129 if (!testCases().known(name))
130 throw Invalid (
"unable to use media file \""+name+
"\"." 131 "Hint: you're using a test-mock file access, " 132 "which responds only to some magical names.");
134 return testCases()[
name].globalDesc;
141 Response
const& res (*reinterpret_cast<Response*> (&h));
143 if (res.channels.size() <= chanNo)
146 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. ...