Searched refs:bufferCount (Results 1 - 18 of 18) sorted by relevance

/haiku/src/kits/media/legacy/
H A DOldAudioStream.h35 status_t SetStreamBuffers(size_t bufferSize, int32 bufferCount);
76 status_t SetStreamBuffers(size_t bufferSize, int32 bufferCount);
H A DOldAudioStream.cpp90 int32 bufferCount)
221 int32 bufferCount)
89 SetStreamBuffers(size_t bufferSize, int32 bufferCount) argument
220 SetStreamBuffers(size_t bufferSize, int32 bufferCount) argument
H A DOldBufferStream.h81 int32 *bufferCount,
86 int32 bufferCount);
141 int32 *bufferCount,
146 int32 bufferCount);
H A DOldBufferStream.cpp24 int32 *bufferCount,
36 int32 bufferCount)
207 int32 *bufferCount,
219 int32 bufferCount)
23 GetStreamParameters(size_t *bufferSize, int32 *bufferCount, bool *isRunning, int32 *subscriberCount) const argument
35 SetStreamBuffers(size_t bufferSize, int32 bufferCount) argument
206 GetStreamParameters(size_t *bufferSize, int32 *bufferCount, bool *isRunning, int32 *subscriberCount) const argument
218 SetStreamBuffers(size_t bufferSize, int32 bufferCount) argument
/haiku/headers/os/game/
H A DStreamingGameSound.h23 size_t bufferCount = 2,
47 size_t bufferCount);
H A DPushGameSound.h43 const gs_audio_format* format, size_t bufferCount);
/haiku/src/system/kernel/device_manager/
H A Ddma_resources.h93 uint32 bufferCount,
97 uint32 bufferCount,
H A Ddma_resources.cpp115 uint32 bufferCount, uint32 bounceBufferCount)
154 return Init(restrictions, blockSize, bufferCount, bounceBufferCount);
160 generic_size_t blockSize, uint32 bufferCount, uint32 bounceBufferCount)
167 fBufferCount = bufferCount;
114 Init(device_node* node, generic_size_t blockSize, uint32 bufferCount, uint32 bounceBufferCount) argument
159 Init(const dma_restrictions& restrictions, generic_size_t blockSize, uint32 bufferCount, uint32 bounceBufferCount) argument
/haiku/headers/os/media/
H A DBufferGroup.h41 status_t GetBufferList(int32 bufferCount,
/haiku/src/kits/media/
H A DBufferGroup.cpp222 BBufferGroup::GetBufferList(int32 bufferCount, BBuffer** _buffers) argument
228 if (bufferCount <= 0 || bufferCount > fBufferCount)
231 return fBufferList->GetBufferList(fReclaimSem, bufferCount, _buffers);
H A DSharedBufferList.cpp423 /*! Returns exactly \a bufferCount buffers from the group specified via its
427 SharedBufferList::GetBufferList(sem_id groupReclaimSem, int32 bufferCount, argument
440 if (found == bufferCount)
447 return found == bufferCount ? B_OK : B_ERROR;
/haiku/headers/private/media/
H A DSharedBufferList.h50 int32 bufferCount,
/haiku/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioProducer.cpp103 const int bufferCount = 10; // number of input buffers local
104 float* buffers[bufferCount + 1];
105 for (int32 i = 0; i < bufferCount + 1; i++)
107 float* outBuffer = buffers[bufferCount];
110 for (int32 i = 0; i < bufferCount; i++) {
113 / float(bufferCount * sampleCount);
118 for (int32 i = 0; i < bufferCount; i++)
120 outBuffer[k] /= bufferCount;
123 for (int32 i = 0; i < bufferCount + 1; i++)
/haiku/src/apps/cortex/addons/common/
H A DAudioFilterNode.cpp1373 int32 bufferCount = EventLatency() / BufferDuration() + 1 + 1; local
1379 if(bufferCount < 5)
1380 bufferCount = 5;
1381 // if(bufferCount < 3)
1382 // bufferCount = 3;
1389 if(err == B_OK && curBufferCount >= bufferCount) {
1409 bufferCount, m_output.format.u.raw_audio.buffer_size));
1413 bufferCount);
/haiku/src/apps/mediaplayer/media_node_framework/video/
H A DVideoProducer.cpp447 int32 bufferCount; local
448 if (fUsedBufferGroup->CountBuffers(&bufferCount) == B_OK) {
450 fBufferLatency = (bufferCount - 1) * fBufferDuration;
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDeviceEngine.cpp101 uint32 bufferCount = 4; local
103 v = (bufferCount << 16) | bufferSize;
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.h161 uint32 bufferCount, size_t bufferSize);
H A Dxhci.cpp1308 XHCI::CreateDescriptor(uint32 trbCount, uint32 bufferCount, size_t bufferSize) argument
1346 result->buffers = (void**)calloc(bufferCount,
1351 bufferCount * (sizeof(void*) + sizeof(phys_addr_t)));
1358 result->buffer_addrs = (phys_addr_t*)&result->buffers[bufferCount];
1360 result->buffer_count = bufferCount;
1365 size_t totalSize = bufferSize * bufferCount;
1374 for (uint32 i = 1; i < bufferCount; i++) {
1382 for (uint32 i = 0; i < bufferCount; i++) {
1387 bufferSize, bufferCount);

Completed in 176 milliseconds