Use Pipeline to Retrieve Buffer
This commit is contained in:
@@ -16,7 +16,7 @@ void StreamReader::run()
|
|||||||
|
|
||||||
// wait for this to unblock before called in event loop
|
// wait for this to unblock before called in event loop
|
||||||
// Retrieve next buffer
|
// Retrieve next buffer
|
||||||
PvResult lResult = Stream->RetrieveBuffer(&lBuffer, &lOperationResult, 1000);
|
PvResult lResult = Pipeline->RetrieveNextBuffer(&lBuffer, 1000, &lOperationResult);
|
||||||
if (lResult.IsOK())
|
if (lResult.IsOK())
|
||||||
{
|
{
|
||||||
if (lOperationResult.IsOK())
|
if (lOperationResult.IsOK())
|
||||||
|
|||||||
Reference in New Issue
Block a user