/frameworks/base/cmds/stagefright/ |
WaveWriter.h | 26 uint16_t num_channels, uint32_t sampling_rate) 30 write_u16(num_channels); 32 write_u32(sampling_rate * num_channels * 2); 33 write_u16(num_channels * 2);
|
/device/moto/wingray/taudio/ |
twav.c | 29 uint16_t num_channels; member in struct:wav_header 65 hdr->num_channels = channels; 89 int num_channels = -1; local 97 num_channels = atoi(optarg); 98 assert(num_channels == 1 || num_channels == 2); 114 assert(num_channels >= 0); 125 printf("> channels %d\n", num_channels); 151 total * 8 / (num_channels * bits_per_sample), 153 num_channels, [all...] |
trec.c | 29 uint16_t num_channels; member in struct:wav_header 65 hdr->num_channels = channels; 86 int num_channels = -1; local 97 num_channels = atoi(optarg); 98 assert(num_channels == 1 || num_channels == 2); 119 printf("> channels %d\n", num_channels); 138 if (num_channels >= 0 || sampling_rate >= 0) { 139 if (num_channels >= 0) 140 cfg.stereo = num_channels == 2 [all...] |
resample.c | 19 uint16_t num_channels; member in struct:wav_header 55 hdr->num_channels = channels; 200 FAILIF(src_hdr.num_channels != 2,
|
/frameworks/ex/variablespeed/jni/ |
sola_time_scaler.h | 45 // @param num_channels number of interleaved channels in the signal. 46 void Init(int sample_rate, int num_channels) { 48 num_channels_ = num_channels; 85 // @param num_channels number of channels of the signal to process 89 void Init(double sample_rate, int num_channels, double initial_speed, 107 // @param num_frames number of frames (num_samples / num_channels) 125 int num_channels() const { return num_channels_; } function in class:video_editing::SolaTimeScaler
|
ring_buffer.h | 42 // @param num_channels: number of channels of the original audio. 44 void Init(int size, int num_channels, int num_readers); 77 // Returns a pointer to num_frames x num_channels contiguous samples for
|
ring_buffer.cc | 23 void RingBuffer::Init(int size, int num_channels, int num_readers) { 25 num_channels_ = num_channels;
|
/system/extras/sound/ |
playwav.c | 112 uint16_t num_channels; member in struct:wav_header 114 uint32_t byte_rate; /* sample_rate * num_channels * bps / 8 */ 115 uint16_t block_align; /* num_channels * bps / 8 */ 166 hdr.num_channels, hdr.sample_rate, hdr.bits_per_sample, 185 play_file(hdr.sample_rate, hdr.num_channels, 207 hdr.num_channels = channels; 209 hdr.byte_rate = hdr.sample_rate * hdr.num_channels * 2; 210 hdr.block_align = hdr.num_channels * 2; 235 cfg.channel_count = hdr.num_channels;
|
/external/webrtc/src/common_audio/vad/main/source/ |
vad_core.c | 54 for (i = 0; i < 16 * NUM_CHANNELS; i++) 278 WebRtc_Word16 feature_vector[NUM_CHANNELS], total_power; 345 nmean2ptr = &inst->noise_means[NUM_CHANNELS]; 347 smean2ptr = &inst->speech_means[NUM_CHANNELS]; 349 nstd2ptr = &inst->noise_stds[NUM_CHANNELS]; 351 sstd2ptr = &inst->speech_stds[NUM_CHANNELS]; 355 for (n = 0; n < NUM_CHANNELS; n++) 367 probn[1] = (WebRtc_Word32)(kNoiseDataWeights[n + NUM_CHANNELS] * tmp32_1); 377 probs[1] = (WebRtc_Word32)(kSpeechDataWeights[n + NUM_CHANNELS] * tmp32_1); 450 for (n = 0; n < NUM_CHANNELS; n++ [all...] |
vad_core.h | 34 WebRtc_Word16 index_vector[16 * NUM_CHANNELS]; 35 WebRtc_Word16 low_value_vector[16 * NUM_CHANNELS]; 36 WebRtc_Word16 mean_value[NUM_CHANNELS];
|
vad_defines.h | 19 #define NUM_CHANNELS 6 // Eight frequency bands 21 #define NUM_TABLE_VALUES NUM_CHANNELS * NUM_MODELS
|
/external/webrtc/src/modules/audio_processing/main/source/ |
audio_buffer.h | 28 WebRtc_Word32 num_channels() const;
|
echo_control_mobile_impl.cc | 74 assert(audio->num_channels() == apm_->num_reverse_channels()); 81 for (int j = 0; j < audio->num_channels(); j++) { 109 assert(audio->num_channels() == apm_->num_output_channels()); 115 for (int i = 0; i < audio->num_channels(); i++) {
|
echo_cancellation_impl.cc | 79 assert(audio->num_channels() == apm_->num_reverse_channels()); 86 for (int j = 0; j < audio->num_channels(); j++) { 118 assert(audio->num_channels() == apm_->num_output_channels()); 125 for (int i = 0; i < audio->num_channels(); i++) {
|
gain_control_impl.cc | 79 if (audio->num_channels() > 1) { 105 assert(audio->num_channels() == num_handles()); 159 assert(audio->num_channels() == num_handles());
|
level_estimator_impl.cc | 32 if (audio->num_channels() > 1) {
|
noise_suppression_impl.cc | 64 assert(audio->num_channels() == num_handles());
|
voice_detection_impl.cc | 70 if (audio->num_channels() > 1) {
|
/external/tinyalsa/ |
tinyplay.c | 48 uint16_t num_channels; member in struct:wav_header 99 play_sample(file, device, header.num_channels, header.sample_rate,
|
tinycap.c | 49 uint16_t num_channels; member in struct:wav_header 116 header.num_channels = channels; 128 frames = capture_sample(file, device, header.num_channels,
|
/frameworks/base/media/libstagefright/ |
MP3Extractor.cpp | 148 int sample_rate, num_channels, bitrate; local 151 &sample_rate, &num_channels, &bitrate)) { 287 int num_channels; local 290 header, &frame_size, &sample_rate, &num_channels, &bitrate); 312 mMeta->setInt32(kKeyChannelCount, num_channels);
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_framedecoder.cpp | 190 pVars->num_channels = (info->mode == MPG_MD_MONO) ? 1 : 2; 191 pExt->num_channels = pVars->num_channels; 362 for (ch = 0; ch < pVars->num_channels; ch++) 405 if (pVars->num_channels == 2) 441 for (ch = 0; ch < pVars->num_channels; ch++) 490 pVars->num_channels, 497 ptrOutBuffer += pVars->num_channels * SUBBANDS_NUMBER * FILTERBANK_BANDS; 659 pVars->num_channels = 0;
|
/external/kernel-headers/original/linux/ |
omap_csmi.h | 42 uint8_t num_channels; // 9 2-15 member in struct:__anon7355
|
/frameworks/base/media/libstagefright/codecs/mp3dec/ |
SoftMP3.cpp | 245 || mConfig->num_channels != mNumChannels) { 247 mNumChannels = mConfig->num_channels;
|
/external/wpa_supplicant_8/src/ap/ |
hw_features.c | 75 for (j = 0; j < feature->num_channels; j++) { 196 for (j = 0; j < iface->current_mode->num_channels; j++) { 638 for (j = 0; j < iface->current_mode->num_channels; j++) { 657 for (j = 0; j < iface->current_mode->num_channels; j++) { 731 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) { 749 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) {
|