class MixJobContext
Defined at line 21 of file ../../src/media/audio/services/mixer/mix/mix_job_context.h
MixJobContext provides a container for state that can be carried throughout a mix job.
This class must not allocate anything on the heap.
Public Methods
void MixJobContext (const ClockSnapshots & clocks, zx::time mono_start_time, zx::time mono_deadline)
Defined at line 9 of file ../../src/media/audio/services/mixer/mix/mix_job_context.cc
zx::time start_time (const UnreadableClock & clock)
Reports the start time of this mix job relative to the given clock.
Defined at line 15 of file ../../src/media/audio/services/mixer/mix/mix_job_context.cc
zx::time deadline (const UnreadableClock & clock)
Reports the deadline of this mix job relative to the given clock.
Defined at line 20 of file ../../src/media/audio/services/mixer/mix/mix_job_context.cc
const ClockSnapshots & clocks ()
Returns the set of clocks available during this mix job.
Defined at line 30 of file ../../src/media/audio/services/mixer/mix/mix_job_context.h
void AddSubtaskMetrics (const MixJobSubtask::Metrics & new_subtask)
Adds metrics for the given subtask. Internally we maintain one Metrics object per subtask. If
this method is called multiple times with the same subtask name, the metrics are accumulated.
Defined at line 40 of file ../../src/media/audio/services/mixer/mix/mix_job_context.h
const SubtaskMetricsVector & per_subtask_metrics ()
Defined at line 55 of file ../../src/media/audio/services/mixer/mix/mix_job_context.h