Searched refs:fInternalLatency (Results 1 - 24 of 24) sorted by relevance

/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerNodeProducer.cpp227 if (fInternalLatency == 0) {
228 fInternalLatency = 100; // temporary until we finish computing it
236 SetEventLatency(fDownstreamLatency + fInternalLatency);
242 fInternalLatency = 100; // just guess
243 fprintf(stderr," internal latency guessed = %lld\n",fInternalLatency);
288 fInternalLatency += how_much;
289 SetEventLatency(fDownstreamLatency + fInternalLatency);
371 SetEventLatency(fDownstreamLatency + fInternalLatency);
H A DVideoMixerNodeConsumer.cpp170 fInternalLatency = 500; // just a guess
171 fprintf(stderr," internal latency guessed = %lld\n", fInternalLatency);
173 SetEventLatency(fInternalLatency);
H A DVideoMixerNode.h324 bigtime_t fInternalLatency; member in class:VideoMixerNode
H A DVideoMixerNode.cpp47 fInternalLatency = 0;
/haiku/src/kits/game/
H A DGameProducer.cpp49 fInternalLatency(0),
255 fInternalLatency = produceLatency - start;
256 SetEventLatency(fLatency + fInternalLatency);
366 fInternalLatency += howMuch;
367 SetEventLatency(fLatency + fInternalLatency);
390 SetEventLatency(fLatency + fInternalLatency);
H A DGameProducer.h127 bigtime_t fInternalLatency; member in class:GameProducer
/haiku/src/kits/media/
H A DSoundPlayNode.cpp435 fInternalLatency = (3 * BufferDuration()) / 4;
437 fInternalLatency);
438 SetEventLatency(fLatency + fInternalLatency);
499 fInternalLatency += howMuch;
501 if (fInternalLatency > 30000) // avoid getting a too high latency
502 fInternalLatency = 30000;
504 SetEventLatency(fLatency + fInternalLatency);
506 B_PRId64 "\n", fLatency + fInternalLatency);
571 SetEventLatency(fLatency + fInternalLatency);
657 bigtime_t how_early = event->event_time - TimeSource()->Now() - fLatency - fInternalLatency;
[all...]
H A DSoundPlayNode.h142 bigtime_t fInternalLatency; member in class:BPrivate::SoundPlayNode
/haiku/src/add-ons/media/media-add-ons/reader/
H A DMediaReader.cpp523 fInternalLatency = end - start;
525 PRINT("\tinternal latency from disk read = %lld\n", fInternalLatency);
527 fInternalLatency = 100; // just guess
528 PRINT("\tinternal latency guessed = %lld\n", fInternalLatency);
531 SetEventLatency(fDownstreamLatency + fInternalLatency);
578 fInternalLatency += how_much;
579 SetEventLatency(fDownstreamLatency + fInternalLatency);
662 SetEventLatency(fDownstreamLatency + fInternalLatency);
H A DMediaReader.h229 bigtime_t fInternalLatency; member in class:MediaReader
/haiku/src/add-ons/media/media-add-ons/demultiplexer/
H A DMediaDemultiplexerNode.cpp53 fInternalLatency = 0;
376 fInternalLatency = 500; // just guess
377 fprintf(stderr," internal latency guessed = %lld\n",fInternalLatency);
379 SetEventLatency(fInternalLatency);
672 if (fInternalLatency == 0) {
673 fInternalLatency = 100; // temporary until we finish computing it
681 SetEventLatency(fDownstreamLatency + fInternalLatency);
718 // fInternalLatency = end - start;
720 // fprintf(stderr," internal latency from disk read = %lld\n",fInternalLatency);
722 fInternalLatency
[all...]
H A DMediaDemultiplexerNode.h356 bigtime_t fInternalLatency; member in class:MediaDemultiplexerNode
/haiku/src/add-ons/media/media-add-ons/writer/
H A DMediaWriter.cpp374 fInternalLatency = end - start;
376 fprintf(stderr," internal latency from disk write = %lld\n",fInternalLatency);
378 fInternalLatency = 500; // just guess
379 fprintf(stderr," internal latency guessed = %lld\n",fInternalLatency);
382 SetEventLatency(fInternalLatency);
H A DMediaWriter.h188 bigtime_t fInternalLatency; member in class:MediaWriter
/haiku/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioProducer.cpp141 fInternalLatency(0),
449 fInternalLatency = estimate_internal_latency(fOutput.format);
451 fInternalLatency *= 32;
452 SetEventLatency(fLatency + fInternalLatency);
515 fInternalLatency += howMuch;
518 if (fInternalLatency > kMaxLatency)
519 fInternalLatency = kMaxLatency;
521 SetEventLatency(fLatency + fInternalLatency);
580 SetEventLatency(fLatency + fInternalLatency);
799 count = (int32)((fLatency + fInternalLatency)
[all...]
H A DAudioProducer.h120 bigtime_t fInternalLatency; member in class:AudioProducer
/haiku/src/add-ons/media/media-add-ons/esound_sink/
H A DESDSinkNode.cpp452 fInternalLatency = with_format.u.raw_audio.buffer_size * 10000 / 2
457 PRINT((" internal latency = %lld\n",fInternalLatency));
459 SetEventLatency(fInternalLatency);
755 fInternalLatency = BufferDuration();
756 PRINT(("\tbuffer-filling took %lld usec on this machine\n", fInternalLatency));
757 //SetEventLatency(fLatency + fInternalLatency);
828 fInternalLatency += how_much;
829 SetEventLatency(fLatency + fInternalLatency);
831 fprintf(stderr, "\tincreasing latency to %lld\n", fLatency + fInternalLatency);
H A DESDSinkNode.h342 bigtime_t fInternalLatency; member in class:ESDSinkNode
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DAudioMixer.cpp107 fInternalLatency(1),
625 fInternalLatency = BufferDuration()
628 fInternalLatency);
630 SetEventLatency(fDownstreamLatency + fInternalLatency);
761 SetEventLatency(fDownstreamLatency + fInternalLatency);
928 fInternalLatency = BufferDuration()
930 TRACE("AudioMixer: Internal latency is %lld usecs\n", fInternalLatency);
932 SetEventLatency(fDownstreamLatency + fInternalLatency);
1027 fInternalLatency += howMuch;
1031 if (fInternalLatency > kMaxLatenc
[all...]
H A DAudioMixer.h135 bigtime_t fInternalLatency; member in class:AudioMixer
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundNode.cpp862 fInternalLatency = time_for_buffer(bufferSize, with_format);
863 TRACE(" internal latency = %lld\n", fInternalLatency);
868 SetEventLatency(fInternalLatency);
1238 fInternalLatency = BufferDuration();
1240 fInternalLatency);
1241 //SetEventLatency(fLatency + fInternalLatency);
1320 fInternalLatency += how_much;
1321 SetEventLatency(fLatency + fInternalLatency);
1324 fLatency + fInternalLatency);
H A DOpenSoundNode.h270 bigtime_t fInternalLatency; member in class:OpenSoundNode
/haiku/src/add-ons/media/media-add-ons/multi_audio/
H A DMultiAudioNode.cpp1005 fInternalLatency = BufferDuration();
1007 fInternalLatency));
1008 //SetEventLatency(fLatency + fInternalLatency);
1075 fInternalLatency += howMuch;
1076 SetEventLatency(fLatency + fInternalLatency);
1079 fLatency + fInternalLatency);
2381 fInternalLatency = format.u.raw_audio.buffer_size * 10000 / 2
2387 PRINT((" internal latency = %" B_PRIdBIGTIME "\n", fInternalLatency));
2389 SetEventLatency(fInternalLatency);
H A DMultiAudioNode.h251 bigtime_t fInternalLatency; member in class:MultiAudioNode

Completed in 555 milliseconds