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

/haiku-fatelf/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerNodeProducer.cpp223 if (fInternalLatency == 0) {
224 fInternalLatency = 100; // temporary until we finish computing it
232 SetEventLatency(fDownstreamLatency + fInternalLatency);
238 fInternalLatency = 100; // just guess
239 fprintf(stderr," internal latency guessed = %lld\n",fInternalLatency);
284 fInternalLatency += how_much;
285 SetEventLatency(fDownstreamLatency + fInternalLatency);
367 SetEventLatency(fDownstreamLatency + fInternalLatency);
H A DVideoMixerNodeConsumer.cpp168 fInternalLatency = 500; // just a guess
169 fprintf(stderr," internal latency guessed = %lld\n", fInternalLatency);
171 SetEventLatency(fInternalLatency);
H A DVideoMixerNode.cpp45 fInternalLatency = 0;
H A DVideoMixerNode.h324 bigtime_t fInternalLatency; member in class:VideoMixerNode
/haiku-fatelf/src/kits/game/
H A DGameProducer.cpp49 fInternalLatency(0),
255 fInternalLatency = produceLatency - start;
256 SetEventLatency(fLatency + fInternalLatency);
366 fInternalLatency += how_much;
367 SetEventLatency(fLatency + fInternalLatency);
390 SetEventLatency(fLatency + fInternalLatency);
H A DGameProducer.h140 bigtime_t fLatency, fInternalLatency; member in class:GameProducer
/haiku-fatelf/src/kits/media/
H A DSoundPlayNode.cpp433 fInternalLatency = (3 * BufferDuration()) / 4;
435 fInternalLatency);
436 SetEventLatency(fLatency + fInternalLatency);
497 fInternalLatency += howMuch;
499 if (fInternalLatency > 30000) // avoid getting a too high latency
500 fInternalLatency = 30000;
502 SetEventLatency(fLatency + fInternalLatency);
504 B_PRId64 "\n", fLatency + fInternalLatency);
569 SetEventLatency(fLatency + fInternalLatency);
655 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-fatelf/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.h226 bigtime_t fInternalLatency; member in class:MediaReader
/haiku-fatelf/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-fatelf/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.h185 bigtime_t fInternalLatency; member in class:MediaWriter
/haiku-fatelf/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-fatelf/src/add-ons/media/media-add-ons/esound_sink/
H A DESDSinkNode.cpp453 fInternalLatency = with_format.u.raw_audio.buffer_size * 10000 / 2
458 PRINT((" internal latency = %lld\n",fInternalLatency));
460 SetEventLatency(fInternalLatency);
756 fInternalLatency = BufferDuration();
757 PRINT(("\tbuffer-filling took %Ld usec on this machine\n", fInternalLatency));
758 //SetEventLatency(fLatency + fInternalLatency);
829 fInternalLatency += how_much;
830 SetEventLatency(fLatency + fInternalLatency);
832 fprintf(stderr, "\tincreasing latency to %Ld\n", fLatency + fInternalLatency);
H A DESDSinkNode.h342 bigtime_t fInternalLatency; member in class:ESDSinkNode
/haiku-fatelf/src/add-ons/media/media-add-ons/mixer/
H A DAudioMixer.cpp114 fInternalLatency(1),
617 fInternalLatency = BufferDuration()
619 TRACE("AudioMixer: Internal latency is %Ld usecs\n", fInternalLatency);
621 SetEventLatency(fDownstreamLatency + fInternalLatency);
747 SetEventLatency(fDownstreamLatency + fInternalLatency);
919 fInternalLatency = BufferDuration()
921 TRACE("AudioMixer: Internal latency is %Ld usecs\n", fInternalLatency);
923 SetEventLatency(fDownstreamLatency + fInternalLatency);
1014 fInternalLatency += howMuch;
1018 if (fInternalLatency > kMaxLatenc
[all...]
H A DAudioMixer.h135 bigtime_t fInternalLatency; member in class:AudioMixer
/haiku-fatelf/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundNode.cpp858 fInternalLatency = time_for_buffer(bufferSize, with_format);
859 TRACE(" internal latency = %lld\n", fInternalLatency);
864 SetEventLatency(fInternalLatency);
1234 fInternalLatency = BufferDuration();
1236 fInternalLatency);
1237 //SetEventLatency(fLatency + fInternalLatency);
1315 fInternalLatency += how_much;
1316 SetEventLatency(fLatency + fInternalLatency);
1319 fLatency + fInternalLatency);
H A DOpenSoundNode.h268 bigtime_t fInternalLatency; member in class:OpenSoundNode
/haiku-fatelf/src/add-ons/media/media-add-ons/multi_audio/
H A DMultiAudioNode.cpp981 fInternalLatency = BufferDuration();
982 PRINT(("\tbuffer-filling took %Ld usec on this machine\n", fInternalLatency));
983 //SetEventLatency(fLatency + fInternalLatency);
1047 fInternalLatency += howMuch;
1048 SetEventLatency(fLatency + fInternalLatency);
1051 fLatency + fInternalLatency);
2379 fInternalLatency = format.u.raw_audio.buffer_size * 10000 / 2
2385 PRINT((" internal latency = %lld\n",fInternalLatency));
2387 SetEventLatency(fInternalLatency);
H A DMultiAudioNode.h225 bigtime_t fInternalLatency; member in class:MultiAudioNode

Completed in 223 milliseconds