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:
@@ -119,7 +119,6 @@ BBufferProducer::GetLatency(bigtime_t *out_lantency)
|
|||||||
*out_lantency = 0;
|
*out_lantency = 0;
|
||||||
cookie = 0;
|
cookie = 0;
|
||||||
while (B_OK == GetNextOutput(&cookie, &output)) {
|
while (B_OK == GetNextOutput(&cookie, &output)) {
|
||||||
cookie++;
|
|
||||||
|
|
||||||
if (output.destination == media_destination::null)
|
if (output.destination == media_destination::null)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user