Home
last modified time | relevance | path

Searched refs:playPos (Results 1 – 25 of 34) sorted by relevance

12

/dports/audio/mixxx/mixxx-2.3.0/src/util/
H A Dsample.h96 SINT playPosFrames = static_cast<SINT>(round(playPos / numChannels)); in roundPlayPosToFrameStart()
101 SINT playPosFrames = static_cast<SINT>(playPos / numChannels); in truncPlayPosToFrameStart()
111 SINT playPosFrames = static_cast<SINT>(ceil(playPos / numChannels)); in ceilPlayPosToFrameStart()
115 inline static SINT roundPlayPosToFrame(double playPos) { in roundPlayPosToFrame() argument
116 return static_cast<SINT>(round(playPos / kPlayPositionChannels)); in roundPlayPosToFrame()
119 inline static SINT truncPlayPosToFrame(double playPos) { in truncPlayPosToFrame() argument
120 return static_cast<SINT>(playPos / kPlayPositionChannels); in truncPlayPosToFrame()
123 inline static SINT floorPlayPosToFrame(double playPos) { in floorPlayPosToFrame() argument
124 return static_cast<SINT>(floor(playPos / kPlayPositionChannels)); in floorPlayPosToFrame()
128 inline static SINT ceilPlayPosToFrame(double playPos) { in ceilPlayPosToFrame() argument
[all …]
/dports/multimedia/aegisub/aegisub-3.2.2/src/
H A Daudio_player_dsound.cpp72 volatile int64_t playPos = 0; member in __anon9b5750f40111::DirectSoundPlayer
157 if (playPos >= endPos) return false; in FillBuffer()
180 if (playPos + toWrite/bytesps > endPos) { in FillBuffer()
181 toWrite = (endPos - playPos) * bytesps; in FillBuffer()
221 …udio/player/dsound1") << "DS fill: " << (unsigned long)playPos << " -> " << (unsigned long)playPos in FillBuffer()
222 …/player/dsound1") << "DS fill: " << (unsigned long)playPos+count1 << " -> " << (unsigned long)play… in FillBuffer()
228 playPos += count1+count2; in FillBuffer()
234 return playPos < endPos; in FillBuffer()
250 playPos = start; in Play()
287 playPos = 0; in Stop()
[all …]
/dports/audio/mixxx/mixxx-2.3.0/src/waveform/
H A Dvisualplayposition.cpp38 void VisualPlayPosition::set(double playPos, double rate, double positionStep, in set() argument
43 data.m_enginePlayPos = playPos; in set()
64 double playPos = data.m_enginePlayPos; // load playPos for the first sample in Buffer in getAtNextVSync() local
67 playPos += data.m_positionStep * offset * data.m_rate / m_audioBufferMicros; in getAtNextVSync()
69 return playPos; in getAtNextVSync()
84 double playPos = data.m_enginePlayPos; // load playPos for the first sample in Buffer in getPlaySlipAtNextVSync() local
85 playPos += data.m_positionStep * offset * data.m_rate / m_audioBufferMicros; in getPlaySlipAtNextVSync()
86 *pPlayPosition = playPos; in getPlaySlipAtNextVSync()
H A Dvisualplayposition.h48 void set(double playPos, double rate, double positionStep,
/dports/audio/audacity/audacity-Audacity-3.1.3/src/tracks/ui/
H A DPlayIndicatorOverlay.cpp184 const double playPos = scroller.GetRecentStreamTime(); in OnTimer() local
193 bool onScreen = playPos >= 0.0 && in OnTimer()
195 playPos, in OnTimer()
203 playPos >= 0 && !onScreen ) { in OnTimer()
217 auto newPos = playPos; in OnTimer()
218 if (playPos < viewInfo.h) { in OnTimer()
228 onScreen = playPos >= 0.0 && in OnTimer()
230 playPos, in OnTimer()
242 viewInfo.TimeToPosition(playPos, viewInfo.GetLeftOffset()); in OnTimer()
/dports/games/openbor/openbor-3caaddd5/engine/xbox/generic/
H A DSndXBOX.cxx246 DWORD playPos ; in process() local
262 stream_buffer->GetCurrentPosition( &playPos, NULL ) ; in process()
264 if ( m_dwWritePos > playPos ) in process()
266 distWritePlay = m_dwWritePos - playPos ; in process()
270 distWritePlay = ( stream_buffer_size - playPos ) + m_dwWritePos ; in process()
/dports/games/openbor4432/openbor-ba1eb4f/engine/xbox/generic/
H A DSndXBOX.cxx246 DWORD playPos ; in process() local
262 stream_buffer->GetCurrentPosition( &playPos, NULL ) ; in process()
264 if ( m_dwWritePos > playPos ) in process()
266 distWritePlay = m_dwWritePos - playPos ; in process()
270 distWritePlay = ( stream_buffer_size - playPos ) + m_dwWritePos ; in process()
/dports/games/openbor3979/openbor-2bcf25b/engine/xbox/generic/
H A DSndXBOX.cxx246 DWORD playPos ; in process() local
262 stream_buffer->GetCurrentPosition( &playPos, NULL ) ; in process()
264 if ( m_dwWritePos > playPos ) in process()
266 distWritePlay = m_dwWritePos - playPos ; in process()
270 distWritePlay = ( stream_buffer_size - playPos ) + m_dwWritePos ; in process()
/dports/games/openbor3711/openbor-6ec17fa/engine/xbox/generic/
H A DSndXBOX.cxx246 DWORD playPos ; in process() local
262 stream_buffer->GetCurrentPosition( &playPos, NULL ) ; in process()
264 if ( m_dwWritePos > playPos ) in process()
266 distWritePlay = m_dwWritePos - playPos ; in process()
270 distWritePlay = ( stream_buffer_size - playPos ) + m_dwWritePos ; in process()
/dports/games/openbor3482/openbor-2c1ecd7/engine/xbox/generic/
H A DSndXBOX.cxx246 DWORD playPos ; in process() local
262 stream_buffer->GetCurrentPosition( &playPos, NULL ) ; in process()
264 if ( m_dwWritePos > playPos ) in process()
266 distWritePlay = m_dwWritePos - playPos ; in process()
270 distWritePlay = ( stream_buffer_size - playPos ) + m_dwWritePos ; in process()
/dports/audio/carla/Carla-2.4.1/source/native-plugins/
H A Dmidi-pattern.cpp269 double playPos; in process() local
274 playPos = fLastPosition + fTicksPerFrame * static_cast<double>(frames); in process()
279 playPos = fTicksPerFrame * static_cast<double>(fTimeInfo.frame); in process()
282 const double endPos = playPos + fTicksPerFrame * static_cast<double>(frames); in process()
285 for (; playPos < endPos; playPos += fMaxTicksPerSigNum) in process()
287 const double loopedPlayPos = std::fmod(playPos, fMaxTicksPerSigNum); in process()
303 fLastPosition = playPos; in process()
/dports/audio/musescore/MuseScore-3.6.1/mscore/
H A Dexportaudio.cpp110 EventMap::const_iterator playPos; in saveAudio() local
111 playPos = events.cbegin(); in saveAudio()
146 for (; playPos != events.cend(); ++playPos) { in saveAudio()
147 int f = score->utick2utime(playPos->first) * MScore::sampleRate; in saveAudio()
158 const NPlayEvent& e = playPos->second; in saveAudio()
H A Dseq.cpp162 playPos = events.cbegin(); in Seq()
675 const Fraction plPos = cs->playPos(); in addCountInClicks()
765 if (playPos == eventsEnd) { in process()
794 EventMap::const_iterator* pPlayPos = &playPos; in process()
1171 if (playPos != events.end()) in setPos()
1179 playPos = events.lower_bound(utick); in setPos()
1431 int t = playPos->first; in prevChord()
1448 i = playPos; in prevChord()
1608 auto ppos = playPos; in heartBeatTimeout()
1709 if (playPos != events.end()) in curTempo()
[all …]
/dports/x11/eaglemode/eaglemode-0.95.0/src/emAv/
H A DemAvFileModel.cpp142 void emAvFileModel::SetPlayPos(int playPos) in SetPlayPos() argument
145 if (playPos<0) playPos=0; in SetPlayPos()
146 if (playPos>PlayLength) playPos=PlayLength; in SetPlayPos()
147 if (PlayPos!=playPos) { in SetPlayPos()
149 PlayPos=playPos; in SetPlayPos()
H A DemAvFilePanel.cpp437 int playPos = fm->GetPlayPos(); in Input() local
440 playPos/3600000, in Input()
441 playPos/60000%60, in Input()
442 playPos/1000%60 in Input()
/dports/net/yate/yate-6.4.0-1/modules/client/
H A Ddsoundchan.cpp301 DWORD playPos = 0; in run() local
305 if (SUCCEEDED(m_dsb->GetCurrentPosition(&playPos,&writePos))) { in run()
306 if (playPos < writePos) in run()
308 adjust = (playPos < writeOffs) && (writeOffs < writePos); in run()
311 adjust = (writeOffs < writePos) || (playPos <= writeOffs) ; in run()
316 writeOffs,adjOffs,playPos,writePos); in run()
365 m_chunk,writeOffs,playPos,writePos); in run()
/dports/games/dhewm3/dhewm3-1.5.1/neo/sound/
H A Dsnd_emitter.cpp1145 void idSlowChannel::GenerateSlowChannel( FracTime& playPos, int sampleCount44k, float* finalBuffer … in GenerateSlowChannel() argument
1163 chan->GatherChannelSamples( playPos.time * 2, neededSamples, src ); in GenerateSlowChannel()
1169 zeroedPos = playPos.time; in GenerateSlowChannel()
1170 playPos.time = 0; in GenerateSlowChannel()
1174 val = spline[playPos.time]; in GenerateSlowChannel()
1176 playPos.Increment( slowmoSpeed ); in GenerateSlowChannel()
1193 playPos.time += zeroedPos; in GenerateSlowChannel()
/dports/audio/mixxx/mixxx-2.3.0/src/vinylcontrol/
H A Dvinylcontrol.h33 ControlProxy* playPos; variable
H A Dvinylcontrol.cpp22 playPos = new ControlProxy(group, "playposition", this); in VinylControl()
H A Dvinylcontrolxwax.cpp286 double filePosition = playPos->get() * m_dOldDuration; in analyzeSamples()
494 } else if (playPos->get() >= 1.0 && dVinylPitch > 0) { in analyzeSamples()
521 if (playPos->get() >= 1.0 && dVinylPitch > 0) { in analyzeSamples()
/dports/audio/mixxx/mixxx-2.3.0/src/engine/controls/
H A Dratecontrol.cpp595 void RateControl::notifySeek(double playPos) { in notifySeek() argument
596 m_pScratchController->notifySeek(playPos); in notifySeek()
597 EngineControl::notifySeek(playPos); in notifySeek()
/dports/audio/tiatracker/tiatracker-1.3/track/
H A Dtrack.h121 int playPos[2]{};
/dports/audio/musescore/MuseScore-3.6.1/mscore/plugin/api/
H A Dutil.h147 int playPos; variable
/dports/devel/ptlib/ptlib-2.10.11/src/ptlib/msos/
H A Dsound_directsound.cxx759 …DWORD playPos; // circular buffer byte offset to start of section DirectSound is playing (end of … local
761 HRESULT result = m_playbackBuffer->GetCurrentPosition(&playPos, &writePos);
769 DWORD played = (playPos + m_bufferSize - m_dsPos) % m_bufferSize;
770 m_dsPos = playPos;
797 m_available = (playPos + m_bufferSize - m_movePos) % m_bufferSize;
/dports/devel/juce/JUCE-f37e9a1/modules/juce_video/native/
H A Djuce_android_Video.h1405 auto playPos = player.getPlayPosition(); in isSeekInProgress() local
1407 auto playPosPercent = (int) (100.0 * playPos / static_cast<double> (durationMs)); in isSeekInProgress()
1423 auto playPos = player.getPlayPosition(); in getCurrentPlaybackState() local
1430 … (jint) playbackStateFlag, (jlong) playPos, (jfloat) playSpeed)); in getCurrentPlaybackState()
1456 auto playPos = player.getPlayPosition(); in playerBufferingUpdated() local
1458 auto playPosPercent = (int) (100.0 * playPos / static_cast<double> (durationMs)); in playerBufferingUpdated()

12