@@ -283,11 +283,11 @@ shm_audio_buffer_reader AudioProcessor::GetAudioBufferReader(unsigned int slot)
283283 return m_shmClient->get_audio_buffer_reader (slot);
284284}
285285
286- shm_scope_stream_reader AudioProcessor::GetScopeReader (unsigned int index)
286+ shm_tap_stream_reader AudioProcessor::GetScopeReader (unsigned int index)
287287{
288288 std::lock_guard<std::mutex> lock (m_mutex);
289- if (!m_shmClient) return shm_scope_stream_reader ();
290- return m_shmClient->get_scope_stream_reader (index);
289+ if (!m_shmClient) return shm_tap_stream_reader ();
290+ return m_shmClient->get_tap_stream_reader (index);
291291}
292292
293293sample_clock_view AudioProcessor::GetSampleClock ()
@@ -364,7 +364,7 @@ void AudioProcessor::AttachLocked()
364364 if (!detail_shm_segment::shm_handle_valid (handle))
365365 throw std::runtime_error (" shm attach: " + err);
366366 m_shmClient.reset (new shm_segment_client (handle));
367- m_shmReader = m_shmClient->get_scope_stream_reader (0 );
367+ m_shmReader = m_shmClient->get_tap_stream_reader (0 );
368368 m_lastAttachError.clear (); // a later recurrence is worth reporting again
369369 }
370370 catch (const std::exception& e)
@@ -391,7 +391,7 @@ void AudioProcessor::AttachLocked()
391391 m_lastAttachError = what;
392392 }
393393 m_shmClient.reset ();
394- m_shmReader = shm_scope_stream_reader ();
394+ m_shmReader = shm_tap_stream_reader ();
395395 }
396396 m_lastEndCursor = 0 ;
397397 m_stalledTicks = 0 ;
@@ -495,7 +495,7 @@ void AudioProcessor::Run()
495495 m_lastEndCursor = endCursor;
496496 // Scratch sized for the max stride; copy_window reports the one
497497 // it used (a separate channels() read would race re-activation).
498- m_windowScratch.resize (static_cast <size_t >(FrameSamples) * SHM_SCOPE_STREAM_CHANNELS );
498+ m_windowScratch.resize (static_cast <size_t >(FrameSamples) * SHM_TAP_STREAM_CHANNELS );
499499 uint32_t ch = 1 ;
500500 m_shmReader.copy_window (endCursor, FrameSamples, m_windowScratch.data (), &ch);
501501
0 commit comments