Home
last modified time | relevance | path

Searched refs:frames_to_read (Results 1 – 19 of 19) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/audio/
H A Dsnooper_node.cc317 const int frames_to_read = resampler_bus->frames(); in ReadFromDelayBuffer() local
319 read_position_, "frames", frames_to_read); in ReadFromDelayBuffer()
325 if (!mix_bus_ || mix_bus_->frames() < frames_to_read) { in ReadFromDelayBuffer()
328 media::AudioBus::Create(input_params_.channels(), frames_to_read); in ReadFromDelayBuffer()
333 buffer_.Read(read_position_, frames_to_read, mix_bus_.get()); in ReadFromDelayBuffer()
335 channel_mixer_.TransformPartial(mix_bus_.get(), frames_to_read, in ReadFromDelayBuffer()
340 buffer_.Read(read_position_, frames_to_read, resampler_bus); in ReadFromDelayBuffer()
344 read_position_ += frames_to_read; in ReadFromDelayBuffer()
H A Ddelay_buffer.cc47 int frames_to_read, in Read() argument
49 DCHECK_LE(frames_to_read, output_bus->frames()); in Read()
59 for (int frames_remaining = frames_to_read; frames_remaining > 0;) { in Read()
60 const int dest_offset = frames_to_read - frames_remaining; in Read()
H A Ddelay_buffer.h65 void Read(FrameTicks from, int frames_to_read, media::AudioBus* output_bus);
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/audio/
H A Dsnooper_node.cc317 const int frames_to_read = resampler_bus->frames(); in ReadFromDelayBuffer() local
319 read_position_, "frames", frames_to_read); in ReadFromDelayBuffer()
325 if (!mix_bus_ || mix_bus_->frames() < frames_to_read) { in ReadFromDelayBuffer()
328 media::AudioBus::Create(input_params_.channels(), frames_to_read); in ReadFromDelayBuffer()
333 buffer_.Read(read_position_, frames_to_read, mix_bus_.get()); in ReadFromDelayBuffer()
335 channel_mixer_.TransformPartial(mix_bus_.get(), frames_to_read, in ReadFromDelayBuffer()
340 buffer_.Read(read_position_, frames_to_read, resampler_bus); in ReadFromDelayBuffer()
344 read_position_ += frames_to_read; in ReadFromDelayBuffer()
H A Ddelay_buffer.cc47 int frames_to_read, in Read() argument
49 DCHECK_LE(frames_to_read, output_bus->frames()); in Read()
59 for (int frames_remaining = frames_to_read; frames_remaining > 0;) { in Read()
60 const int dest_offset = frames_to_read - frames_remaining; in Read()
H A Ddelay_buffer.h65 void Read(FrameTicks from, int frames_to_read, media::AudioBus* output_bus);
/dports/audio/py-fmoo-audiotools/audiotools-3.0/src/decoders/
H A Dsine.c102 int frames_to_read; in Sine_Mono_read() local
116 frames_to_read = MIN(MAX(requested_frames, 1), self->remaining_pcm_frames); in Sine_Mono_read()
121 for (i = 0; i < frames_to_read; i++) { in Sine_Mono_read()
131 self->remaining_pcm_frames -= frames_to_read; in Sine_Mono_read()
266 int frames_to_read; in Sine_Stereo_read() local
281 frames_to_read = MIN(MAX(requested_frames, 1), self->remaining_pcm_frames); in Sine_Stereo_read()
287 for (i = 0; i < frames_to_read; i++) { in Sine_Stereo_read()
301 self->remaining_pcm_frames -= frames_to_read; in Sine_Stereo_read()
427 int frames_to_read; in Sine_Simple_read() local
447 for (i = 0; i < frames_to_read; i++) { in Sine_Simple_read()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/base/
H A Daudio_buffer_converter.cc103 int frames_to_read = in ProvideInput() local
106 input_buffer->ReadFrames(frames_to_read, last_input_buffer_offset_, in ProvideInput()
108 last_input_buffer_offset_ += frames_to_read; in ProvideInput()
116 requested_frames_left -= frames_to_read; in ProvideInput()
117 dest_index += frames_to_read; in ProvideInput()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/base/
H A Daudio_buffer_converter.cc103 int frames_to_read = in ProvideInput() local
106 input_buffer->ReadFrames(frames_to_read, last_input_buffer_offset_, in ProvideInput()
108 last_input_buffer_offset_ += frames_to_read; in ProvideInput()
116 requested_frames_left -= frames_to_read; in ProvideInput()
117 dest_index += frames_to_read; in ProvideInput()
/dports/audio/audiere/audiere-1.9.4/src/
H A Dinput_mp3.cpp182 const int frames_to_read = std::min( in doRead() local
186 m_buffer.read(out, frames_to_read * frame_size); in doRead()
187 out += frames_to_read * frame_size; in doRead()
188 frames_read += frames_to_read; in doRead()
189 m_position += frames_to_read; in doRead()
H A Dinput_aiff.cpp83 const int frames_to_read = std::min(frame_count, m_frames_left_in_chunk); in doRead() local
85 const int bytes_to_read = frames_to_read * frame_size; in doRead()
H A Dinput_wav.cpp84 const int frames_to_read = std::min(frame_count, m_frames_left_in_chunk); in doRead() local
86 const int bytes_to_read = frames_to_read * frame_size; in doRead()
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/supernova/audio_backend/
H A Dsndfile_backend.hpp251 const size_t frames_to_read = std::min(available_frames, buffer_frames); in poll_writer_queue() local
253 const size_t samples_to_read = frames_to_read * output_channels; in poll_writer_queue()
260 const sf_count_t written_frames = output_file.writef(data_to_write, frames_to_read); in poll_writer_queue()
261 assert(frames_to_read == written_frames); in poll_writer_queue()
265 for (size_t frame = 0; frame != frames_to_read; ++frame) { in poll_writer_queue()
/dports/audio/jack/jack2-eaedec353489f26617221d66f80fd2503953c663/common/
H A DJackLibSampleRateResampler.cpp133 unsigned int frames_to_read = frames; in WriteResample() local
147 src_data.input_frames = frames_to_read; in WriteResample()
158 frames_to_read -= src_data.input_frames_used; in WriteResample()
/dports/audio/mixxx/mixxx-2.3.0/src/engine/bufferscalers/
H A Denginebufferscalerubberband.cpp135 SINT frames_to_read = math_min(frames_available, frames); in retrieveAndDeinterleave() local
137 (float* const*)m_retrieve_buffer, frames_to_read); in retrieveAndDeinterleave()
/dports/audio/libaudec/libaudec-0.3.4/src/
H A Dad_plugin.c330 ssize_t frames_to_read = 0; in audec_read() local
335 frames_to_read = in audec_read()
342 frames_to_read, in audec_read()
/dports/audio/xcdplayer/xcdplayer-2.2/
H A Dcdrom_sgi.c972 int frames_to_read = number; local
984 if (frames_to_read > INIT_READ) {
985 frames_to_read = INIT_READ;
988 CDreadda(cdrom_fd, &cd_audio_buff[0], frames_to_read)) == -1) {
/dports/audio/py-fmoo-audiotools/audiotools-3.0/test/
H A Dtest.py96 frames_to_read = min(pcm_frames, self.total_frames)
98 os.urandom(frames_to_read *
/dports/audio/supercollider/SuperCollider-3.11.0-Source/server/supernova/sc/
H A Dsc_plugin_interface.cpp997 const uint32_t frames_to_read = std::min(frames, std::min(buffer_remain, file_remain)); in buffer_read() local
1000 sf.readf(buf->data + start_buffer * buf->channels, frames_to_read); in buffer_read()
1028 const uint32_t frames_to_read = std::min(frames, std::min(buffer_remain, file_remain)); in buffer_read_channel() local
1031 read_channel(sf, channel_count, channel_data, frames_to_read, buf->data); in buffer_read_channel()