Home
last modified time | relevance | path

Searched refs:mBufferGroup (Results 1 – 5 of 5) sorted by relevance

/haiku/src/tests/kits/media/nodetest/
H A DProducerNode.cpp21 mBufferGroup(0), in ProducerNode()
27 mBufferGroup = new BBufferGroup(4096,3); in ProducerNode()
35 delete mBufferGroup; in ~ProducerNode()
142 if (mBufferGroup != NULL && mBufferGroup != mOwnBufferGroup) { in SetBufferGroup()
145 delete mBufferGroup; in SetBufferGroup()
154 mBufferGroup = group; in SetBufferGroup()
157 if (mBufferGroup == NULL) { in SetBufferGroup()
159 mBufferGroup = mOwnBufferGroup; in SetBufferGroup()
454 buffer = mBufferGroup->RequestBuffer(2048); in BufferProducer()
H A DConsumerNode.cpp148 if (mBufferGroup == NULL) { in Connected()
150 mBufferGroup = mOwnBufferGroup; in Connected()
155 mBufferGroup->CountBuffers(&numBuffers); in Connected()
174 mBufferGroup = NULL; in Disconnected()
H A DProducerNode.h102 BBufferGroup *mBufferGroup; variable
/haiku/src/add-ons/media/media-add-ons/tone_producer_demo/
H A DToneProducer.cpp52 mBufferGroup(NULL), in ToneProducer()
300 if (newGroup == mBufferGroup) return B_OK; in SetBufferGroup()
308 delete mBufferGroup; // waits for all buffers to recycle in SetBufferGroup()
312 mBufferGroup = newGroup; in SetBufferGroup()
320 mBufferGroup = new BBufferGroup(size, count); in SetBufferGroup()
487 if (!mBufferGroup) AllocateBuffers(); in Connect()
500 delete mBufferGroup; in Disconnect()
501 mBufferGroup = NULL; in Disconnect()
829 mBufferGroup = new BBufferGroup(size, count); in AllocateBuffers()
836 …BBuffer* buf = mBufferGroup->RequestBuffer(mOutput.format.u.raw_audio.buffer_size, BufferDuration(… in FillNextBuffer()
H A DToneProducer.h180 BBufferGroup* mBufferGroup; variable