Fix scope for gcc4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26283 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
df709516a0
commit
1308815ba3
@ -781,7 +781,7 @@ AudioProducer::_FillNextBuffer(bigtime_t eventTime)
|
|||||||
realTime -= 2000;
|
realTime -= 2000;
|
||||||
// deliver event about one video frame earlier to account
|
// deliver event about one video frame earlier to account
|
||||||
// for latency between app_server and client
|
// for latency between app_server and client
|
||||||
MessageEvent* event = new (nothrow) MessageEvent(realTime,
|
MessageEvent* event = new (std::nothrow) MessageEvent(realTime,
|
||||||
fPeakListener, message);
|
fPeakListener, message);
|
||||||
if (event != NULL)
|
if (event != NULL)
|
||||||
EventQueue::Default().AddEvent(event);
|
EventQueue::Default().AddEvent(event);
|
||||||
|
Loading…
Reference in New Issue
Block a user