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

123

/haiku-fatelf/src/apps/cortex/InfoView/
H A DLiveNodeInfoView.cpp105 bigtime_t latency; local
106 if (ref->totalLatency(&latency) == B_OK)
109 if (latency > 0)
111 s << static_cast<float>(latency) / 1000.0f << " ms";
/haiku-fatelf/src/servers/midi/
H A DServerDefs.h73 bigtime_t latency; member in struct:endpoint_t
H A DMidiServerApp.cpp154 && msg->FindInt64("midi:latency", &endp->latency) == B_OK)
265 bigtime_t latency; local
266 if (msg->FindInt64("midi:latency", &latency) == B_OK) {
267 notify.AddInt64("midi:latency", latency);
268 endp->latency = latency;
465 msg->AddInt64("midi:latency", end
[all...]
/haiku-fatelf/headers/os/drivers/
H A Dcpuidle.h35 int32 latency; member in struct:CpuidleCstate
/haiku-fatelf/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-fatelf/src/apps/cortex/addons/LoggingConsumer/
H A DNodeHarnessWin.cpp199 // for video input, we need to set the downstream latency for record -> playback
200 bigtime_t latency; local
201 r->GetLatencyFor(mConnection.producer, &latency);
202 printf("Setting producer run mode latency to %Ld\n", latency);
203 r->SetProducerRunModeDelay(mConnection.producer, latency + 6000);
222 bigtime_t latency; local
225 r->GetLatencyFor(mConnection.producer, &latency);
226 r->StartNode(mConnection.producer, ts->Now() + latency);
/haiku-fatelf/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-fatelf/src/kits/media/
H A DMediaEventLooper.cpp213 bigtime_t latency; local
223 // BMediaEventLooper compensates your performance time by adding the event latency
224 // (see SetEventLatency()) and the scheduling latency (or, for real-time events,
225 // only the scheduling latency).
227 latency = fEventLatency + fSchedulingLatency;
231 waituntil = TimeSource()->RealTimeFor(firstEvent->event_time, latency);
386 BMediaEventLooper::SetEventLatency(bigtime_t latency) argument
390 if (latency < 0)
391 latency = 0;
393 fEventLatency = latency;
[all...]
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...]
/haiku-fatelf/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-fatelf/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-fatelf/src/add-ons/kernel/generic/cpuidle/
H A Dcpuidle.cpp33 if (info->cstateSleep > cState->latency * csFactor)
/haiku-fatelf/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-fatelf/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-fatelf/src/apps/cortex/addons/ToneProducer/
H A DNodeHarnessWin.cpp206 bigtime_t latency = 0; local
207 r->GetLatencyFor(mConnection.producer, &latency);
208 r->StartNode(mConnection.producer, ts->Now() + latency);
/haiku-fatelf/src/apps/debuganalyzer/model/
H A DModel.cpp413 Model::Thread::AddLatency(nanotime_t latency) argument
416 fTotalLatency += latency;
418 if (fMinLatency < 0 || latency < fMinLatency)
419 fMinLatency = latency;
420 if (latency > fMaxLatency)
421 fMaxLatency = latency;
/haiku-fatelf/headers/os/midi2/
H A DMidiConsumer.h46 void SetLatency(bigtime_t latency);
/haiku-fatelf/src/apps/mediaplayer/media_node_framework/
H A DNodeManager.cpp633 bigtime_t latency = 0;
638 &latency);
640 print_error("error getting latency for video producer",
643 TRACE("video latency: %Ld\n", latency);
645 fVideoConnection.producer, latency);
655 print_error("error getting initial latency for video producer",
666 TRACE("audio latency: %Ld\n", audioLatency);
697 bigtime_t perf = timeSource->PerformanceTimeFor(real + latency
/haiku-fatelf/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-fatelf/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-fatelf/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 %Ld\n", latency);
/haiku-fatelf/src/kits/game/
H A DGameSoundBuffer.cpp449 bigtime_t latency = 0; local
450 status_t status = roster->GetLatencyFor(fConnection->producer, &latency);
453 source->Now() + latency);
/haiku-fatelf/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);

Completed in 266 milliseconds

123