Remove the negative delay that was supposed to account for client->app_server
delay. The audio is later than the calculated realtime anyways, I suspect the OSS Node does not advertise it's latency 100% correctly yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26285 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
432e3df3c7
commit
591f4c05bc
@ -778,9 +778,6 @@ AudioProducer::_FillNextBuffer(bigtime_t eventTime)
|
|||||||
}
|
}
|
||||||
bigtime_t realTime = TimeSource()->RealTimeFor(
|
bigtime_t realTime = TimeSource()->RealTimeFor(
|
||||||
fStartTime + performanceTime, 0);
|
fStartTime + performanceTime, 0);
|
||||||
realTime -= 2000;
|
|
||||||
// deliver event about one video frame earlier to account
|
|
||||||
// for latency between app_server and client
|
|
||||||
MessageEvent* event = new (std::nothrow) MessageEvent(realTime,
|
MessageEvent* event = new (std::nothrow) MessageEvent(realTime,
|
||||||
fPeakListener, message);
|
fPeakListener, message);
|
||||||
if (event != NULL)
|
if (event != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user