/third_party/ffmpeg/libswresample/ |
H A D | swresample_internal.h | 142 float min_hard_compensation; ///< swr minimum below which no silence inject / sample drop will happen 158 AudioData silence; ///< temporary with silence member
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm.c | 393 The silence threshold specifies the count of frames before an underrun when the 394 buffer gets filled with frames of silence according to the silence size parameter 3140 * \param samples samples to silence 3151 uint64_t silence; in snd_pcm_area_silence() local 3156 silence = snd_pcm_format_silence_64(format); in snd_pcm_area_silence() 3168 *dstp++ = silence; in snd_pcm_area_silence() 3176 uint8_t s0 = silence & 0xf0; in snd_pcm_area_silence() 3177 uint8_t s1 = silence & 0x0f; in snd_pcm_area_silence() 3198 uint8_t sil = silence; in snd_pcm_area_silence() [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-virtual-surround-sink.c | 714 pa_memchunk silence; in pa__init() local 931 pa_sink_input_get_silence(u->sink_input, &silence); in pa__init() 947 /* add silence to the hrir until we get enough samples out of the resampler */ in pa__init() 1131 u->memblockq_sink = pa_memblockq_new("module-virtual-surround-sink memblockq (input)", 0, MEMBLOCKQ_MAXLENGTH, sink_bytes(u, BLOCK_SIZE), &ss_input, 0, 0, sink_bytes(u, u->fftlen), &silence); in pa__init() 1132 pa_memblock_unref(silence.memblock); in pa__init()
|
H A D | module-loopback.c | 733 /* Add silence to queue */ in memblockq_adjust() 735 pa_log_info("Adding %" PRIu64 " usec of silence to queue", pa_bytes_to_usec(buffer_correction, &u->sink_input->sample_spec)); in memblockq_adjust() 1118 /* FIXME: We allow pushing silence here to fix up the latency. This in sink_input_process_msg_cb() 1131 * Don't push any silence here, because we already have new data in the queue */ in sink_input_process_msg_cb() 1567 pa_memchunk silence; in pa__init() local 1860 pa_sink_input_get_silence(u->sink_input, &silence); in pa__init() 1870 &silence); /* silence frame */ in pa__init() 1871 pa_memblock_unref(silence.memblock); in pa__init() 1872 /* Fill the memblockq with silence */ in pa__init() [all...] |
H A D | module-ladspa-sink.c | 1011 pa_memchunk silence; in pa__init() local 1373 pa_sink_input_get_silence(u->sink_input, &silence); in pa__init() 1374 u->memblockq = pa_memblockq_new("module-ladspa-sink memblockq", 0, MEMBLOCKQ_MAXLENGTH, 0, &ss, 1, 1, 0, &silence); in pa__init() 1375 pa_memblock_unref(silence.memblock); in pa__init()
|
H A D | module-tunnel-source-new.c | 207 /* we have a hole. generate silence */ in read_new_samples() 208 memchunk = u->source->silence; in read_new_samples()
|
H A D | module-combine-sink.c | 1242 &u->sink->silence);
|
H A D | module-equalizer-sink.c | 1251 u->input_q = pa_memblockq_new("module-equalizer-sink input_q", 0, MEMBLOCKQ_MAXLENGTH, 0, &ss, 1, 1, 0, &u->sink->silence); in pa__init()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | sink-input.c | 367 pa_memchunk silence; in pa_sink_input_new() local 653 &i->sink->silence); in pa_sink_input_new() 657 pa_sink_input_get_silence(i, &silence); in pa_sink_input_new() 667 &silence); in pa_sink_input_new() 669 pa_memblock_unref(silence.memblock); in pa_sink_input_new() 1023 * data, so let's just hand out silence */ in pa_sink_input_peek() 2096 /* If something is left playing on the origin sink, add silence to the render memblockq */ in restore_render_memblockq() 2640 &i->sink->silence); in pa_sink_input_update_resampler()
|
H A D | sink.c | 331 &s->silence, in pa_sink_new() 831 if (s->silence.memblock) in sink_free() 832 pa_memblock_unref(s->silence.memblock); in sink_free() 1194 c = s->silence; in inputs_drop() 1255 result->memblock = pa_memblock_ref(s->silence.memblock); in pa_sink_render() 1256 result->index = s->silence.index; in pa_sink_render() 1257 result->length = PA_MIN(s->silence.length, length); in pa_sink_render() 1276 *result = s->silence; in pa_sink_render()
|
H A D | protocol-esound.c | 387 pa_memchunk silence; in esd_proto_stream_play() local 435 pa_sink_input_get_silence(c->sink_input, &silence); in esd_proto_stream_play() 445 &silence); in esd_proto_stream_play() 446 pa_memblock_unref(silence.memblock); in esd_proto_stream_play()
|
H A D | source.h | 117 pa_memchunk silence; member
|
H A D | sink.h | 116 pa_memchunk silence; member
|
H A D | source.c | 318 &s->silence, in pa_source_new() 760 if (s->silence.memblock) in source_free() 761 pa_memblock_unref(s->silence.memblock); in source_free()
|
H A D | source-output.c | 502 &o->source->silence); in pa_source_output_new() 1872 &o->source->silence); in pa_source_output_update_resampler()
|
H A D | protocol-native.c | 824 pa_memchunk silence; in playback_stream_new() local 926 pa_sink_input_get_silence(sink_input, &silence); in playback_stream_new() 937 &silence); in playback_stream_new() 939 pa_memblock_unref(silence.memblock); in playback_stream_new()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
H A D | module-echo-cancel.c | 827 * capture data. If playback is currently inactive, we just push silence. 845 /* we ran out of played data and pchunk has been filled with silence bytes */ in do_push() 1724 pa_memchunk silence; in pa__init() local 2046 pa_sink_input_get_silence(u->sink_input, &silence); in pa__init() 2049 &source_output_ss, 1, 1, 0, &silence); in pa__init() 2051 &sink_ss, 0, 1, 0, &silence); in pa__init() 2053 pa_memblock_unref(silence.memblock); in pa__init()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/ |
H A D | sdl_audio_sink_plugin.cpp | 156 wantedSpec_.silence = 0; in Prepare()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_arnndn.c | 1377 int silence; in rnnoise_channel() local 1380 silence = compute_frame_features(s, st, X, P, Ex, Ep, Exp, features, x); in rnnoise_channel() 1382 if (!silence && !disabled) { in rnnoise_channel()
|
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | hdi_sink.c | 1979 chunkIn->memblock = pa_memblock_ref(si->silence.memblock); in SinkRenderPrimary() 1980 chunkIn->index = si->silence.index; in SinkRenderPrimary() 1981 chunkIn->length = PA_MIN(si->silence.length, length); in SinkRenderPrimary() 2995 chunkIn->memblock = pa_memblock_ref(si->silence.memblock); in SinkRenderMultiChannel() 2996 chunkIn->index = si->silence.index; in SinkRenderMultiChannel() 2997 chunkIn->length = PA_MIN(si->silence.length, length); in SinkRenderMultiChannel()
|
/third_party/ffmpeg/libavcodec/ |
H A D | opusenc.c | 429 if (f->silence) { in celt_encode_frame()
|
H A D | opusdec.c | 62 /* number of samples of silence to feed to the resampler 147 "Error feeding initial silence to the resampler.\n"); in opus_init_resample() 552 } else if (map->silence) { in opus_decode_packet()
|
H A D | opus.c | 428 map->silence = 1; in ff_opus_parse_extradata()
|
/third_party/alsa-utils/aplay/ |
H A D | aplay.c | 2368 error(_("can't allocate buffer for silence")); 2390 fprintf(stderr, _("voc_pcm_flush - silence error")); 2507 case 3: /* a silence block, no data, only a count */ 2516 size_t silence; 2517 silence = (((size_t) * sp) * 1000) / hwparams.rate; 2518 d_printf("Silence for %d ms\n", (int) silence);
|
/third_party/ffmpeg/fftools/ |
H A D | ffplay.c | 2446 /* if error, just output silence */ in sdl_audio_callback() 2507 wanted_spec.silence = 0; in audio_open()
|