mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1190285 move GraphTime definition to avoid GraphDriver.h includes r=padenot
This commit is contained in:
parent
61dea3e1f1
commit
d8f7539bcf
@ -52,12 +52,6 @@ static const int AUDIO_TARGET_MS = 2*MEDIA_GRAPH_TARGET_PERIOD_MS +
|
|||||||
|
|
||||||
class MediaStreamGraphImpl;
|
class MediaStreamGraphImpl;
|
||||||
|
|
||||||
/**
|
|
||||||
* Microseconds relative to the start of the graph timeline.
|
|
||||||
*/
|
|
||||||
typedef int64_t GraphTime;
|
|
||||||
const GraphTime GRAPH_TIME_MAX = MEDIA_TIME_MAX;
|
|
||||||
|
|
||||||
class AudioCallbackDriver;
|
class AudioCallbackDriver;
|
||||||
class OfflineClockDriver;
|
class OfflineClockDriver;
|
||||||
|
|
||||||
|
@ -48,6 +48,12 @@ const int64_t MEDIA_TIME_MAX = TRACK_TICKS_MAX;
|
|||||||
typedef MediaTime StreamTime;
|
typedef MediaTime StreamTime;
|
||||||
const StreamTime STREAM_TIME_MAX = MEDIA_TIME_MAX;
|
const StreamTime STREAM_TIME_MAX = MEDIA_TIME_MAX;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Media time relative to the start of the graph timeline.
|
||||||
|
*/
|
||||||
|
typedef MediaTime GraphTime;
|
||||||
|
const GraphTime GRAPH_TIME_MAX = MEDIA_TIME_MAX;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A MediaSegment is a chunk of media data sequential in time. Different
|
* A MediaSegment is a chunk of media data sequential in time. Different
|
||||||
* types of data have different subclasses of MediaSegment, all inheriting
|
* types of data have different subclasses of MediaSegment, all inheriting
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
#include "mozilla/dom/AudioChannelBinding.h"
|
#include "mozilla/dom/AudioChannelBinding.h"
|
||||||
|
|
||||||
|
#include "AudioSegment.h"
|
||||||
#include "AudioStream.h"
|
#include "AudioStream.h"
|
||||||
#include "nsTArray.h"
|
#include "nsTArray.h"
|
||||||
#include "nsIRunnable.h"
|
#include "nsIRunnable.h"
|
||||||
@ -21,7 +22,6 @@
|
|||||||
#include "VideoSegment.h"
|
#include "VideoSegment.h"
|
||||||
#include "MainThreadUtils.h"
|
#include "MainThreadUtils.h"
|
||||||
#include "nsAutoRef.h"
|
#include "nsAutoRef.h"
|
||||||
#include "GraphDriver.h"
|
|
||||||
#include <speex/speex_resampler.h>
|
#include <speex/speex_resampler.h>
|
||||||
#include "DOMMediaStream.h"
|
#include "DOMMediaStream.h"
|
||||||
#include "AudioContext.h"
|
#include "AudioContext.h"
|
||||||
|
@ -110,7 +110,6 @@ EXPORTS += [
|
|||||||
'DOMMediaStream.h',
|
'DOMMediaStream.h',
|
||||||
'EncodedBufferCache.h',
|
'EncodedBufferCache.h',
|
||||||
'FileBlockCache.h',
|
'FileBlockCache.h',
|
||||||
'GraphDriver.h',
|
|
||||||
'Intervals.h',
|
'Intervals.h',
|
||||||
'Latency.h',
|
'Latency.h',
|
||||||
'MediaCache.h',
|
'MediaCache.h',
|
||||||
|
Loading…
Reference in New Issue
Block a user