Searched refs:latency (Results 1 - 25 of 56) sorted by relevance

123

/haiku/src/servers/midi/
H A DServerDefs.h73 bigtime_t latency; member in struct:endpoint_t
H A DMidiServerApp.cpp188 && msg->FindInt64("midi:latency", &endpoint->latency)
300 bigtime_t latency; local
301 if (msg->FindInt64("midi:latency", &latency) == B_OK) {
302 notify.AddInt64("midi:latency", latency);
303 endpoint->latency = latency;
522 msg->AddInt64("midi:latency", endpoin
[all...]
/haiku/src/apps/cortex/InfoView/
H A DLiveNodeInfoView.cpp115 bigtime_t latency; local
116 if (ref->totalLatency(&latency) == B_OK)
119 if (latency > 0)
121 s << static_cast<float>(latency) / 1000.0f << " ms";
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwohci_pci.cpp144 uint32 olatency, latency, ocache_line, cache_line; local
168 latency = olatency = gPci->read_pci_config(info->bus, info->device, info->function,
172 latency = DEF_LATENCY;
174 PCI_latency, 1, latency);
185 TRACE("latency timer %lx -> %lx.\n", olatency, latency);
/haiku/src/apps/cortex/addons/LoggingConsumer/
H A DNodeHarnessWin.cpp210 // for video input, we need to set the downstream latency for record -> playback
211 bigtime_t latency; local
212 r->GetLatencyFor(mConnection.producer, &latency);
213 printf("Setting producer run mode latency to %" B_PRIdBIGTIME "\n", latency);
214 r->SetProducerRunModeDelay(mConnection.producer, latency + 6000);
233 bigtime_t latency; local
236 r->GetLatencyFor(mConnection.producer, &latency);
237 r->StartNode(mConnection.producer, ts->Now() + latency);
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDeviceEngine.h41 bigtime_t CardLatency(void) const { return (fAudioInfo.latency < 0) ? 0 : fAudioInfo.latency; };
/haiku/src/apps/cortex/NodeManager/
H A DNodeGroup.h47 // For example, a change in node latency will likely confuse
54 // seeks are queued as late as possible; if the latency increases
76 // - calculate the new latency
78 // to tmStart+latency+pad,
79 // at tpStart+latency+pad - 1
81 // at tpStart+latency+pad
423 // when a cycling node's latency changes, call this method.
424 // +++++ shouldn't there be a general latency-change hook?
485 // functor: calculates latency of each node it's handed, caching
486 // the largest one found; includes initial latency i
497 bigtime_t latency; local
[all...]
/haiku/src/kits/midi2/
H A DMidiRosterLooper.cpp235 bigtime_t latency; local
238 && (msg->FindInt64("midi:latency", &latency) == B_OK)) {
244 cons->fLatency = latency;
443 bigtime_t latency; local
444 if (msg->FindInt64("midi:latency", &latency) == B_OK) {
447 if (cons->fLatency != latency) {
448 cons->fLatency = latency;
453 notify.AddInt64("be:latency", latenc
[all...]
/haiku/src/kits/media/
H A DBufferProducer.cpp85 // latency of your currently-available outputs by iterating over
89 bigtime_t latency; local
106 latency = 0;
107 if (fConsumerThis->GetLatencyFor(output.destination, &latency,
108 &unused) == B_OK && latency > *_latency) {
109 *_latency = latency;
111 } else if (FindLatencyFor(output.destination, &latency, &unused)
112 == B_OK && latency > *_latency) {
113 *_latency = latency;
117 "max latency
[all...]
H A DMediaEventLooper.cpp251 // the event latency (see SetEventLatency()) and the scheduling
252 // latency (or, for real-time events, only the scheduling latency).
393 BMediaEventLooper::SetEventLatency(bigtime_t latency) argument
397 if (latency < 0)
398 latency = 0;
400 fEventLatency = latency;
441 // get latency information
H A DSoundPlayer.cpp205 // Add latency and a few ms to the nodes current time to
285 bigtime_t latency; local
286 status_t err = roster->GetLatencyFor(fMediaOutput.node, &latency);
293 TRACE("BSoundPlayer::Latency: latency is %" B_PRId64 "\n", latency);
295 return latency;
/haiku/src/add-ons/media/media-add-ons/equalizer/
H A DEqualizerNode.h65 bigtime_t* latency,
105 bigtime_t latency, uint32 flags);
H A DEqualizerNode.cpp224 EqualizerNode::GetLatencyFor(const media_destination &dst, bigtime_t* latency, argument
231 *latency = fDownstreamLatency + fProcessLatency;
465 EqualizerNode::GetLatency(bigtime_t* latency) argument
467 *latency = EventLatency() + SchedulingLatency();
474 const media_destination &dst, bigtime_t latency, uint32 flags)
479 fDownstreamLatency = latency;
723 bigtime_t latency = system_time() - begin; local
730 return latency;
473 LatencyChanged(const media_source &src, const media_destination &dst, bigtime_t latency, uint32 flags) argument
/haiku/src/add-ons/media/media-add-ons/vst_host/
H A DVSTNode.h72 bigtime_t *latency,
112 bigtime_t latency, uint32 flags);
H A DVSTNode.cpp232 VSTNode::GetLatencyFor( const media_destination &dst, bigtime_t* latency, argument
238 *latency = fDownstreamLatency + fProcessLatency;
460 VSTNode::GetLatency(bigtime_t* latency) argument
462 *latency = EventLatency() + SchedulingLatency();
468 bigtime_t latency, uint32 flags)
473 fDownstreamLatency = latency;
790 bigtime_t latency = system_time()-begin; local
797 return latency;
467 LatencyChanged(const media_source &src, const media_destination &dst, bigtime_t latency, uint32 flags) argument
/haiku/src/kits/media/experimental/
H A DMediaClientNode.h72 bigtime_t* latency,
121 bigtime_t latency, uint32 flags);
/haiku/src/apps/debuganalyzer/model/
H A DModel.cpp416 Model::Thread::AddLatency(nanotime_t latency) argument
419 fTotalLatency += latency;
421 if (fMinLatency < 0 || latency < fMinLatency)
422 fMinLatency = latency;
423 if (latency > fMaxLatency)
424 fMaxLatency = latency;
/haiku/headers/os/midi2/
H A DMidiConsumer.h46 void SetLatency(bigtime_t latency);
/haiku/src/apps/mediaplayer/media_node_framework/
H A DNodeManager.cpp613 bigtime_t latency = 0;
618 &latency);
620 print_error("error getting latency for video producer",
623 TRACE("video latency: %lld\n", latency);
625 fVideoConnection.producer, latency);
635 print_error("error getting initial latency for video producer",
646 TRACE("audio latency: %lld\n", audioLatency);
677 bigtime_t perf = timeSource->PerformanceTimeFor(real + latency
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_general.c173 * (CAS latency is dependant on MGA setup on some (DRAM) boards) */
177 uint8 latency = 0; local
194 LOG(4,("INIT: RAM access errors; tuning CAS latency if prudent...\n"));
205 for (latency = 4; latency >= 2; latency-- )
208 ACCW(MCTLWTST, ((si->ps.mctlwtst_reg & 0xfffffffc) | (latency - 2)));
237 LOG(4,("INIT: RAM access OK. CAS latency set to %d cycles.\n", latency));
239 LOG(4,("INIT: RAM access not fixable. CAS latency se
[all...]
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dgeneral.c149 * (CAS latency is dependant on NV setup on some (DRAM) boards) */
153 uint8 latency = 0; local
170 LOG(4,("INIT: RAM access errors; tuning CAS latency if prudent...\n"));
180 LOG(4,("INIT: RAM access OK. CAS latency set to %d cycles.\n", latency));
182 LOG(4,("INIT: RAM access not fixable. CAS latency set to %d cycles.\n", latency));
/haiku/src/kits/game/
H A DGameSoundBuffer.cpp439 bigtime_t latency = 0; local
440 status_t status = roster->GetLatencyFor(fConnection->producer, &latency);
443 source->Now() + latency);
/haiku/src/add-ons/media/media-add-ons/firewire_dv/
H A DFireWireDVNode.cpp404 bigtime_t latency; local
406 if (B_OK != FindLatencyFor(destination, &latency, &ts))
409 TRACE("downstream latency %lld\n", latency);
/haiku/headers/os/media/
H A DMediaEventLooper.h15 is time to handle an event. Report your event latency, push other events
88 void SetEventLatency(bigtime_t latency);
/haiku/headers/private/bluetooth/
H A Dl2cap.h156 uint32 latency; /* microseconds */ member in struct:__anon602

Completed in 131 milliseconds

123