зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 9cc6dd50c93a (bug 904617)
This commit is contained in:
Родитель
3cf7ed846a
Коммит
7766485842
|
@ -322,7 +322,6 @@ class BufferedAudioStream : public AudioStream
|
|||
int64_t GetPosition();
|
||||
int64_t GetPositionInFrames();
|
||||
int64_t GetPositionInFramesInternal();
|
||||
int64_t GetLatencyInFrames();
|
||||
bool IsPaused();
|
||||
// This method acquires the monitor and forward the call to the base
|
||||
// class, to prevent a race on |mTimeStretcher|, in
|
||||
|
@ -776,17 +775,6 @@ BufferedAudioStream::GetPositionInFramesUnlocked()
|
|||
return std::min<uint64_t>(adjustedPosition, INT64_MAX);
|
||||
}
|
||||
|
||||
int64_t
|
||||
BufferedAudioStream::GetLatencyInFrames()
|
||||
{
|
||||
uint32_t latency;
|
||||
if(cubeb_stream_get_latency(mCubebStream, &latency)) {
|
||||
NS_WARNING("Could not get cubeb latency.");
|
||||
return 0;
|
||||
}
|
||||
return static_cast<int64_t>(latency);
|
||||
}
|
||||
|
||||
bool
|
||||
BufferedAudioStream::IsPaused()
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче