2 * Copyright (C) 2010 David McPaul
4 * All rights reserved. Distributed under the terms of the MIT License.
7 #ifndef __BUFFER_MIXER__
8 #define __BUFFER_MIXER__
10 #include <media/Buffer.h>
18 bool isBufferAvailable();
19 BBuffer
*GetOutputBuffer();
20 void AddBuffer(int32 id
, BBuffer
*buffer
, bool isPrimary
);
21 void RemoveBuffer(int32 id
);
22 void Merge(BBuffer
*input
, BBuffer
*output
);
25 std::map
<int32
, BBuffer
*> groupedBuffers
;
28 #endif //__BUFFER_MIXER__