зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1266644 - Update the comments to reflect the latest code base. r=jesup r=pehrsons r=padenot
This commit is contained in:
Родитель
5d4238b60d
Коммит
a06045fa0f
|
@ -91,8 +91,9 @@ public:
|
|||
* file. It's not in the anonymous namespace because MediaStream needs to
|
||||
* be able to friend it.
|
||||
*
|
||||
* Currently we have one global instance per process, and one per each
|
||||
* OfflineAudioContext object.
|
||||
* There can be multiple MediaStreamGraph per process: one per AudioChannel.
|
||||
* Additionaly, each OfflineAudioContext object creates its own MediaStreamGraph
|
||||
* object too.
|
||||
*/
|
||||
class MediaStreamGraphImpl : public MediaStreamGraph,
|
||||
public nsIMemoryReporter
|
||||
|
@ -104,10 +105,10 @@ public:
|
|||
/**
|
||||
* Use aGraphDriverRequested with SYSTEM_THREAD_DRIVER or AUDIO_THREAD_DRIVER
|
||||
* to create a MediaStreamGraph which provides support for real-time audio
|
||||
* and/or video. Set it to false in order to create a non-realtime instance
|
||||
* which just churns through its inputs and produces output. Those objects
|
||||
* currently only support audio, and are used to implement
|
||||
* OfflineAudioContext. They do not support MediaStream inputs.
|
||||
* and/or video. Set it to OFFLINE_THREAD_DRIVER in order to create a
|
||||
* non-realtime instance which just churns through its inputs and produces
|
||||
* output. Those objects currently only support audio, and are used to
|
||||
* implement OfflineAudioContext. They do not support MediaStream inputs.
|
||||
*/
|
||||
explicit MediaStreamGraphImpl(GraphDriverType aGraphDriverRequested,
|
||||
TrackRate aSampleRate,
|
||||
|
|
Загрузка…
Ссылка в новой задаче