Fixed deadlock, the cookie is incremented by the node, not by the media kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3296 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
80e966963f
commit
f6ae82103c
@ -119,7 +119,6 @@ BBufferProducer::GetLatency(bigtime_t *out_lantency)
|
||||
*out_lantency = 0;
|
||||
cookie = 0;
|
||||
while (B_OK == GetNextOutput(&cookie, &output)) {
|
||||
cookie++;
|
||||
|
||||
if (output.destination == media_destination::null)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user