Home
last modified time | relevance | path

Searched refs:sample_rate (Results 176 – 200 of 15282) sorted by relevance

12345678910>>...612

/dports/audio/lmms/lmms-1.2.2/plugins/LadspaEffect/swh/
H A Dpitch_scale_1194.c48 long sample_rate; member
72 long sample_rate = plugin_data->sample_rate; in activatePitchScaleHQ() local
82 …pitch_scale(buffers, 1.0, FRAME_LENGTH, 16, FRAME_LENGTH, sample_rate, buffers->gInFIFO, buffers->… in activatePitchScaleHQ()
84 plugin_data->sample_rate = sample_rate; in activatePitchScaleHQ()
133 long sample_rate; in instantiatePitchScaleHQ() local
140 sample_rate = s_rate; in instantiatePitchScaleHQ()
162 plugin_data->sample_rate = sample_rate; in instantiatePitchScaleHQ()
188 long sample_rate = plugin_data->sample_rate; in runPitchScaleHQ() local
191 …pitch_scale(buffers, mult, FRAME_LENGTH, OVER_SAMP, sample_count, sample_rate, input, output, RUN_… in runPitchScaleHQ()
220 long sample_rate = plugin_data->sample_rate; in runAddingPitchScaleHQ() local
[all …]
H A Dtransient_1206.c55 int sample_rate; member
87 int sample_rate = plugin_data->sample_rate; in activateTransient() local
100 sample_rate = sample_rate; in activateTransient()
108 plugin_data->sample_rate = sample_rate; in activateTransient()
155 int sample_rate; in instantiateTransient() local
169 sample_rate = s_rate; in instantiateTransient()
178 plugin_data->sample_rate = sample_rate; in instantiateTransient()
214 int sample_rate = plugin_data->sample_rate; in runTransient() local
220 const int fast_sum_size = (2 * sample_rate) / 1000; in runTransient()
310 int sample_rate = plugin_data->sample_rate; in runAddingTransient() local
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/common_audio/
H A Dwav_header.cc63 int sample_rate,
70 if (num_channels <= 0 || sample_rate <= 0 || bytes_per_sample <= 0)
171 static inline uint32_t ByteRate(int num_channels, int sample_rate,
182 int sample_rate,
186 CHECK(CheckWavParameters(num_channels, sample_rate, format,
200 WriteLE32(&header.fmt.SampleRate, sample_rate);
201 WriteLE32(&header.fmt.ByteRate, ByteRate(num_channels, sample_rate,
216 int* sample_rate,
243 *sample_rate = ReadLE32(header.fmt.SampleRate);
263 ByteRate(*num_channels, *sample_rate, *bytes_per_sample))
[all …]
/dports/audio/webrtc-audio-processing0/webrtc-audio-processing-0.3.1/webrtc/common_audio/
H A Dwav_header.cc63 int sample_rate, in CheckWavParameters() argument
70 if (num_channels <= 0 || sample_rate <= 0 || bytes_per_sample <= 0) in CheckWavParameters()
171 static inline uint32_t ByteRate(int num_channels, int sample_rate, in ByteRate() argument
182 int sample_rate, in WriteWavHeader() argument
186 RTC_CHECK(CheckWavParameters(num_channels, sample_rate, format, in WriteWavHeader()
200 WriteLE32(&header.fmt.SampleRate, sample_rate); in WriteWavHeader()
201 WriteLE32(&header.fmt.ByteRate, ByteRate(num_channels, sample_rate, in WriteWavHeader()
216 int* sample_rate, in ReadWavHeader() argument
243 *sample_rate = ReadLE32(header.fmt.SampleRate); in ReadWavHeader()
263 ByteRate(*num_channels, *sample_rate, *bytes_per_sample)) in ReadWavHeader()
[all …]
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/
H A Dwavpack.cpp47 , sample_rate(0) in meta_t()
157 int sample_rate = get_uint24_le(buffer); in get_non_standard_rate() local
162 sample_rate |= static_cast<int32_t>(buffer[3] & 0x7f) << 24; in get_non_standard_rate()
164 return sample_rate; in get_non_standard_rate()
245 meta.sample_rate = (flags & SRATE_MASK) >> SRATE_LSB; in parse_frame()
252 if (meta.sample_rate == 15 || flags & DSD_FLAG) { in parse_frame()
259 if (meta.sample_rate == 15) in parse_frame()
268 if (meta.sample_rate < 15) in parse_frame()
269 meta.sample_rate = s_sample_rates[meta.sample_rate]; in parse_frame()
271 meta.sample_rate = non_standard_rate; in parse_frame()
[all …]
/dports/net/mediastreamer/mediastreamer-2.16.1/tester/
H A Dmediastreamer2_sound_card_tester.c65 int sample_rate = 8000; in dtmfgen_soundwrite() local
135 int sample_rate = 8000; in fileplay_soundwrite() local
151 if (sample_rate != soundwrite_sample_rate) need_resampler = TRUE; in fileplay_soundwrite()
235 int sample_rate = 8000; in soundread_soundwrite() local
246 if (sample_rate != soundwrite_sample_rate) need_resampler = TRUE; in soundread_soundwrite()
288 int sample_rate = 8000; in fileplay_bv16enc_bv16dec_soundwrite() local
331 if (sample_rate != soundwrite_sample_rate) need_write_resampler = TRUE; in fileplay_bv16enc_bv16dec_soundwrite()
388 int sample_rate = 8000; in soundread_speexenc_speexdec_soundwrite() local
395 ms_filter_call_method(ms_tester_encoder, MS_FILTER_GET_BITRATE, &sample_rate); in soundread_speexenc_speexdec_soundwrite()
400 if (sample_rate != soundread_sample_rate) need_read_resampler = TRUE; in soundread_speexenc_speexdec_soundwrite()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv/src/
H A Dstreams.c74 INT32 sample_rate; /* sample rate of this stream */ member
250 stream->sample_rate = stream->new_sample_rate; in streams_frame_update()
272 stream->new_sample_rate = stream->sample_rate; in stream_postload()
309 stream->sample_rate = sample_rate; in stream_create()
322 state_save_register_item(statetag, 0, stream->sample_rate); in stream_create()
386 …input_stream ? (UINT32)((double)input_stream->sample_rate * (double)(1 << FRAC_BITS) / stream->sam… in stream_set_input()
389 input->step_frac = ((UINT64)input_stream->sample_rate << FRAC_BITS) / stream->sample_rate; in stream_set_input()
394 …->step_frac = input_stream ? (((UINT64)input_stream->sample_rate << FRAC_BITS) / stream->sample_ra… in stream_set_input()
518 stream->new_sample_rate = sample_rate; in stream_set_sample_rate()
630 if (samples > stream->sample_rate) in stream_generate_samples()
[all …]
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sndhrdw/
H A Dbzone.c78 poly_counter += Machine->sample_rate; in bzone_sound_update()
122 int n = (-explosion_amp_counter / Machine->sample_rate) + 1; in bzone_sound_update()
123 explosion_amp_counter += n * Machine->sample_rate; in bzone_sound_update()
155 int n = (-shell_amp_counter / Machine->sample_rate) + 1; in bzone_sound_update()
156 shell_amp_counter += n * Machine->sample_rate; in bzone_sound_update()
191 motor_rate_counter += Machine->sample_rate; in bzone_sound_update()
198 motor_counter += Machine->sample_rate; in bzone_sound_update()
242 int n = (-motor_amp_counter / Machine->sample_rate) + 1; in bzone_sound_update()
243 motor_amp_counter += n * Machine->sample_rate; in bzone_sound_update()
279 channel = stream_init("Custom", 50, Machine->sample_rate, 0, bzone_sound_update); in bzone_sh_start()
/dports/net/sems/sems-f89581a/core/
H A DAmMultiPartyMixer.cpp44 DBG("XXDebugMixerXX: sample_rate = %u", mbs.sample_rate); in Param()
81 if (it->sample_rate >= external_sample_rate) {
176 output_sample_rate = bstate->sample_rate; in getPayload()
249 if (it->sample_rate == sample_rate) {
257 buffer_state.push_back(MixerBufferState(sample_rate, channelids));
264 AmMultiPartyMixer::findBufferStateForReading(unsigned int sample_rate,
280 buffer_state.push_back(MixerBufferState(sample_rate, channelids));
291 && (unsigned int)GetCurrentSampleRate() != buffer_state.front().sample_rate) {
309 MixerBufferState::MixerBufferState(unsigned int sample_rate, std::set<int>& channelids)
310 : sample_rate(sample_rate), last_ts(0), channels(), mixed_channel(NULL)
[all …]
H A DLowcFE.h33 #define PITCH_MIN ((unsigned int) (sample_rate / 200)) /* minimum allowed pitch, 200 Hz */
34 #define PITCH_MAX ((unsigned int) (sample_rate / 66.6)) /* maximum allowed pitch, 66 Hz */
39 #define CORRLEN 20 * sample_rate / 1000 /* 20 msec correlation length */
41 #define CORRMINPOWER (((Float)250.) * (sample_rate / 8000)) /* minimum power */
43 #define FRAMESZ (10 * sample_rate / 1000) /* 10 msec */
51 LowcFE(unsigned int sample_rate);
57 unsigned int sample_rate;
/dports/audio/rkr-lv2/rkrlv2-beta_2-2-gd8c17d3/src/
H A DMBDist.C57 lpf1l = new AnalogFilter (2, 500.0f, .7071f, 0, sample_rate, interpbuf);
58 lpf1r = new AnalogFilter (2, 500.0f, .7071f, 0, sample_rate, interpbuf);
59 hpf1l = new AnalogFilter (3, 500.0f, .7071f, 0, sample_rate, interpbuf);
60 hpf1r = new AnalogFilter (3, 500.0f, .7071f, 0, sample_rate, interpbuf);
61 lpf2l = new AnalogFilter (2, 2500.0f, .7071f, 0, sample_rate, interpbuf);
62 lpf2r = new AnalogFilter (2, 2500.0f, .7071f, 0, sample_rate, interpbuf);
63 hpf2l = new AnalogFilter (3, 2500.0f, .7071f, 0, sample_rate, interpbuf);
64 hpf2r = new AnalogFilter (3, 2500.0f, .7071f, 0, sample_rate, interpbuf);
65 DCl = new AnalogFilter (3, 30, 1, 0, sample_rate, interpbuf);
66 DCr = new AnalogFilter (3, 30, 1, 0, sample_rate, interpbuf);
[all …]
/dports/audio/festival/speech_tools/sigpr/
H A Dfilter.cc110 out_sig.set_sample_rate(in_sig.sample_rate()); in inv_lpc_filter_ola()
115 start = (int)((float)lpc.t(i - 1) * in_sig.sample_rate()); in inv_lpc_filter_ola()
116 end = (int)((float)lpc.t(i + 1) * in_sig.sample_rate()); in inv_lpc_filter_ola()
157 sig.set_sample_rate(res.sample_rate()); in lpc_filter_1()
211 sig.set_sample_rate(res.sample_rate()); in lpc_filter_fast()
340 out_sig.set_sample_rate(in_sig.sample_rate()); in FIRfilter()
398 out_sig.set_sample_rate(in_sig.sample_rate()); in FIRfilter()
472 if (sample_rate <= 0){ in design_high_or_low_pass_FIR_filter()
474 << sample_rate << endl; in design_high_or_low_pass_FIR_filter()
506 return design_high_or_low_pass_FIR_filter(sample_rate, in design_lowpass_FIR_filter()
[all …]
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
66 avctx->sample_rate = AV_RB32(buf + 8); in ff_adx_decode_header()
67 if (avctx->sample_rate < 1 || in ff_adx_decode_header()
68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header()
72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
66 avctx->sample_rate = AV_RB32(buf + 8); in ff_adx_decode_header()
67 if (avctx->sample_rate < 1 || in ff_adx_decode_header()
68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header()
72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
66 avctx->sample_rate = AV_RB32(buf + 8); in ff_adx_decode_header()
67 if (avctx->sample_rate < 1 || in ff_adx_decode_header()
68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header()
72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
66 avctx->sample_rate = AV_RB32(buf + 8); in ff_adx_decode_header()
67 if (avctx->sample_rate < 1 || in ff_adx_decode_header()
68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header()
72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
66 avctx->sample_rate = AV_RB32(buf + 8); in ff_adx_decode_header()
67 if (avctx->sample_rate < 1 || in ff_adx_decode_header()
68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header()
72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
66 avctx->sample_rate = AV_RB32(buf + 8); in ff_adx_decode_header()
67 if (avctx->sample_rate < 1 || in ff_adx_decode_header()
68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header()
72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
/dports/multimedia/handbrake/ffmpeg-4.4/libavcodec/
H A Dadx.c26 void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff) in ff_adx_calculate_coeffs() argument
30 a = M_SQRT2 - cos(2.0 * M_PI * cutoff / sample_rate); in ff_adx_calculate_coeffs()
66 avctx->sample_rate = AV_RB32(buf + 8); in ff_adx_decode_header()
67 if (avctx->sample_rate < 1 || in ff_adx_decode_header()
68 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) in ff_adx_decode_header()
72 avctx->bit_rate = avctx->sample_rate * avctx->channels * BLOCK_SIZE * 8 / BLOCK_SAMPLES; in ff_adx_decode_header()
77 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
/dports/multimedia/mplayer/mplayer-export-2021-12-29/libmpcodecs/
H A Dad_hwac3.c51 static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate);
55 static int a52_syncinfo (uint8_t *buf, int *sample_rate, int *bit_rate) in a52_syncinfo() argument
80 *sample_rate = 48000 >> half; in a52_syncinfo()
83 *sample_rate = 44100 >> half; in a52_syncinfo()
86 *sample_rate = 32000 >> half; in a52_syncinfo()
97 int sample_rate = 0; in ac3dts_fillbuff() local
116 length = dts_syncinfo(sh_audio->a_in_buffer, &flags, &sample_rate, &bit_rate); in ac3dts_fillbuff()
129 length = a52_syncinfo(sh_audio->a_in_buffer, &sample_rate, &bit_rate); in ac3dts_fillbuff()
146 sh_audio->samplerate = sample_rate; in ac3dts_fillbuff()
454 *sample_rate = DTS_SAMPLEFREQS[sfreq]; in dts_syncinfo()
[all …]
/dports/multimedia/mencoder/mplayer-export-2021-12-29/libmpcodecs/
H A Dad_hwac3.c51 static int dts_syncinfo(uint8_t *indata_ptr, int *flags, int *sample_rate, int *bit_rate);
55 static int a52_syncinfo (uint8_t *buf, int *sample_rate, int *bit_rate) in a52_syncinfo() argument
80 *sample_rate = 48000 >> half; in a52_syncinfo()
83 *sample_rate = 44100 >> half; in a52_syncinfo()
86 *sample_rate = 32000 >> half; in a52_syncinfo()
97 int sample_rate = 0; in ac3dts_fillbuff() local
116 length = dts_syncinfo(sh_audio->a_in_buffer, &flags, &sample_rate, &bit_rate); in ac3dts_fillbuff()
129 length = a52_syncinfo(sh_audio->a_in_buffer, &sample_rate, &bit_rate); in ac3dts_fillbuff()
146 sh_audio->samplerate = sample_rate; in ac3dts_fillbuff()
454 *sample_rate = DTS_SAMPLEFREQS[sfreq]; in dts_syncinfo()
[all …]
/dports/sysutils/xvidcap/xvidcap-1.1.7/ffmpeg/libavcodec/
H A Dwma.c75 if( avctx->sample_rate<=0 || avctx->sample_rate>50000 in ff_wma_init()
80 s->sample_rate = avctx->sample_rate; in ff_wma_init()
94 if (s->sample_rate <= 16000) { in ff_wma_init()
96 } else if (s->sample_rate <= 22050 || in ff_wma_init()
118 high_freq = s->sample_rate * 0.5; in ff_wma_init()
121 sample_rate1 = s->sample_rate; in ff_wma_init()
205 b = s->sample_rate; in ff_wma_init()
222 if (s->sample_rate >= 44100) in ff_wma_init()
224 else if (s->sample_rate >= 32000) in ff_wma_init()
239 b = s->sample_rate; in ff_wma_init()
[all …]
/dports/multimedia/libmpeg3/libmpeg3-1.8/a52dec-0.7.3/libao/
H A Daudio_out_oss.c58 int sample_rate; member
63 int oss_setup (ao_instance_t * _instance, int sample_rate, int * flags, in oss_setup() argument
68 if ((instance->set_params == 0) && (instance->sample_rate != sample_rate)) in oss_setup()
70 instance->sample_rate = sample_rate; in oss_setup()
108 tmp = instance->sample_rate; in oss_play()
110 (tmp != instance->sample_rate)) { in oss_play()
152 instance->sample_rate = 0; in oss_open()
/dports/audio/liba52/a52dec-0.7.4/libao/
H A Daudio_out_oss.c58 int sample_rate; member
63 static int oss_setup (ao_instance_t * _instance, int sample_rate, int * flags, in oss_setup() argument
68 if ((instance->set_params == 0) && (instance->sample_rate != sample_rate)) in oss_setup()
70 instance->sample_rate = sample_rate; in oss_setup()
108 tmp = instance->sample_rate; in oss_play()
110 (tmp != instance->sample_rate)) { in oss_play()
152 instance->sample_rate = 0; in oss_open()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/common_audio/
H A Dwav_header.cc63 int sample_rate, in CheckWavParameters() argument
70 if (num_channels == 0 || sample_rate <= 0 || bytes_per_sample == 0) in CheckWavParameters()
170 static inline uint32_t ByteRate(size_t num_channels, int sample_rate, in ByteRate() argument
182 int sample_rate, in WriteWavHeader() argument
186 RTC_CHECK(CheckWavParameters(num_channels, sample_rate, format, in WriteWavHeader()
200 WriteLE32(&header.fmt.SampleRate, sample_rate); in WriteWavHeader()
201 WriteLE32(&header.fmt.ByteRate, ByteRate(num_channels, sample_rate, in WriteWavHeader()
217 int* sample_rate, in ReadWavHeader() argument
244 *sample_rate = ReadLE32(header.fmt.SampleRate); in ReadWavHeader()
264 ByteRate(*num_channels, *sample_rate, *bytes_per_sample)) in ReadWavHeader()
[all …]

12345678910>>...612