Bug 1266644 - Update the comments to reflect the latest code base. r=jesup r=pehrsons r=padenot

This commit is contained in:
ctai 2016-04-25 15:00:43 +08:00
Родитель 5d4238b60d
Коммит a06045fa0f
1 изменённых файлов: 7 добавлений и 6 удалений

Просмотреть файл

@ -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,