/external/bluetooth/bluez/sbc/ |
D | sbc_primitives.c | 231 int nsamples, int nchannels, int big_endian) in sbc_encoder_process_input_s4_internal() argument 235 if (nchannels > 0) in sbc_encoder_process_input_s4_internal() 238 if (nchannels > 1) in sbc_encoder_process_input_s4_internal() 250 if (nchannels > 0) { in sbc_encoder_process_input_s4_internal() 252 x[0] = PCM(0 + 7 * nchannels); in sbc_encoder_process_input_s4_internal() 253 x[1] = PCM(0 + 3 * nchannels); in sbc_encoder_process_input_s4_internal() 254 x[2] = PCM(0 + 6 * nchannels); in sbc_encoder_process_input_s4_internal() 255 x[3] = PCM(0 + 4 * nchannels); in sbc_encoder_process_input_s4_internal() 256 x[4] = PCM(0 + 0 * nchannels); in sbc_encoder_process_input_s4_internal() 257 x[5] = PCM(0 + 2 * nchannels); in sbc_encoder_process_input_s4_internal() [all …]
|
D | sbc_primitives_neon.c | 550 int nsamples, int nchannels, int big_endian) in sbc_enc_process_input_4s_neon_internal() argument 575 if (nchannels > 1) { in sbc_enc_process_input_4s_neon_internal() 593 if ((nchannels > 1) && ((uintptr_t)pcm & 1)) { in sbc_enc_process_input_4s_neon_internal() 627 } else if (nchannels > 1) { in sbc_enc_process_input_4s_neon_internal() 688 int nsamples, int nchannels, int big_endian) in sbc_enc_process_input_8s_neon_internal() argument 721 if (nchannels > 1) { in sbc_enc_process_input_8s_neon_internal() 743 if ((nchannels > 1) && ((uintptr_t)pcm & 1)) { in sbc_enc_process_input_8s_neon_internal() 781 } else if (nchannels > 1) { in sbc_enc_process_input_8s_neon_internal() 850 int nsamples, int nchannels) in sbc_enc_process_input_4s_be_neon() argument 853 position, pcm, X, nsamples, nchannels, 1); in sbc_enc_process_input_4s_be_neon() [all …]
|
D | sbc_primitives.h | 52 int nsamples, int nchannels); 55 int nsamples, int nchannels); 58 int nsamples, int nchannels); 61 int nsamples, int nchannels);
|
D | sbc.c | 1028 int nsamples, int nchannels); in sbc_encode()
|
/external/qemu/audio/ |
D | wavcapture.c | 11 int nchannels; member 75 wav->freq, wav->bits, wav->nchannels, in wav_capture_info() 85 int bits, int nchannels) in wav_start_capture() argument 105 if (nchannels != 1 && nchannels != 2) { in wav_start_capture() 107 nchannels); in wav_start_capture() 111 stereo = nchannels == 2; in wav_start_capture() 115 as.nchannels = 1 << stereo; in wav_start_capture() 128 le_store (hdr + 22, as.nchannels, 2); in wav_start_capture() 143 wav->nchannels = nchannels; in wav_start_capture()
|
D | ossaudio.c | 77 int nchannels; member 196 req->nchannels, obt->nchannels); in oss_dump_info() 210 int fmt, freq, nchannels; in oss_open() local 221 nchannels = req->nchannels; in oss_open() 229 if (ioctl (fd, SNDCTL_DSP_CHANNELS, &nchannels)) { in oss_open() 231 req->nchannels); in oss_open() 264 obt->nchannels = nchannels; in oss_open() 272 (req->nchannels != obt->nchannels) || in oss_open() 451 req.nchannels = as->nchannels; in oss_init_out() 466 obt_as.nchannels = obt.nchannels; in oss_init_out() [all …]
|
D | alsaaudio.c | 141 int nchannels; member 152 int nchannels; member 297 req->nchannels, obt->nchannels); in alsa_dump_info() 342 unsigned int freq, nchannels; in alsa_open() local 349 nchannels = req->nchannels; in alsa_open() 396 &nchannels in alsa_open() 400 req->nchannels); in alsa_open() 404 if (nchannels != 1 && nchannels != 2) { in alsa_open() 407 nchannels); in alsa_open() 520 bytes_per_sec = freq << (nchannels == 2); in alsa_open() [all …]
|
D | wavaudio.c | 133 stereo = wav_as.nchannels == 2; in wav_out_init() 164 le_store (hdr + 22, hw->info.nchannels, 2); in wav_out_init() 258 int nchannels, freq, format, bits; in wav_in_init() local 281 nchannels = le_read( hdr+22, 2 ); in wav_in_init() 289 switch (nchannels) { in wav_in_init() 294 nchannels, path); in wav_in_init() 308 if (format*8/nchannels != bits) { in wav_in_init() 310 bits, format*8/nchannels, path); in wav_in_init() 314 wav_as.nchannels = nchannels; in wav_in_init() 431 {"DAC_FIXED_CHANNELS", AUD_OPT_INT, &conf_out.settings.nchannels,
|
D | audio.c | 614 dolog ("frequency=%d nchannels=%d fmt=", as->freq, as->nchannels); in audio_print_settings() 659 invalid = as->nchannels != 1 && as->nchannels != 2; in audio_validate_settings() 702 && info->nchannels == as->nchannels in audio_pcm_info_eq() 736 info->nchannels = as->nchannels; in audio_pcm_init_info() 737 info->shift = (as->nchannels == 2) + shift; in audio_pcm_init_info() 762 int shift = info->nchannels - 1; in audio_pcm_info_clear_buf() 779 int shift = info->nchannels - 1; in audio_pcm_info_clear_buf() 928 hw, sw->info.freq, sw->info.bits, sw->info.nchannels); in audio_attach_capture() 1174 cap, info->bits, info->sign, info->freq, info->nchannels); in audio_pcm_print_info() 1647 {"DAC_FIXED_CHANNELS", AUD_OPT_INT, &conf.fixed_out.settings.nchannels, [all …]
|
D | audio_template.h | 162 [sw->info.nchannels == 2] in glue() 293 [hw->info.nchannels == 2] in glue() 423 name, as->freq, as->nchannels, as->fmt); in glue() 452 SW_NAME (sw), sw->info.freq, sw->info.bits, sw->info.nchannels); in glue() 457 nchannels); in glue()
|
D | dsoundaudio.c | 314 wfx->nChannels = as->nchannels; in waveformat_from_audio_settings() 316 wfx->nAvgBytesPerSec = as->freq << (as->nchannels == 2); in waveformat_from_audio_settings() 317 wfx->nBlockAlign = 1 << (as->nchannels == 2); in waveformat_from_audio_settings() 364 as->nchannels = 1; in waveformat_to_audio_settings() 368 as->nchannels = 2; in waveformat_to_audio_settings() 1048 {"PRIMARY_CHANNELS", AUD_OPT_INT, &conf.settings.nchannels,
|
D | audio.h | 50 int nchannels; member 169 int bits, int nchannels);
|
D | winaudio.c | 175 format.nChannels = as->nchannels; in winaudio_out_init() 177 format.nAvgBytesPerSec = as->freq*as->nchannels; in winaudio_out_init() 422 format.nChannels = as->nchannels; in winaudio_in_init() 424 format.nAvgBytesPerSec = as->freq*as->nchannels; in winaudio_in_init()
|
D | esdaudio.c | 175 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO; in qesd_init_out() 332 esdfmt |= (as->nchannels == 2) ? ESD_STEREO : ESD_MONO; in qesd_init_in()
|
D | fmodaudio.c | 364 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0); in fmod_init_out() 430 mode = aud_to_fmodfmt (as->fmt, as->nchannels == 2 ? 1 : 0); in fmod_init_in()
|
D | audio_int.h | 62 int nchannels; member
|
D | dsound_template.h | 278 hw->bufsize, settings.freq, settings.nchannels, settings.fmt); in dsound_init_in()
|
/external/qemu/hw/ |
D | goldfish_audio.c | 578 as.nchannels = 2; in goldfish_audio_init() 599 as.nchannels = 1; in goldfish_audio_init()
|
/external/qemu/ |
D | vnc-android.c | 1815 vs->as.nchannels = read_u8(data, 5); in protocol_client_msg() 1816 if (vs->as.nchannels != 1 && vs->as.nchannels != 2) { in protocol_client_msg() 2081 vs->as.nchannels = 2; in vnc_connect()
|
D | vnc.c | 1809 vs->as.nchannels = read_u8(data, 5); in protocol_client_msg() 1810 if (vs->as.nchannels != 1 && vs->as.nchannels != 2) { in protocol_client_msg() 2075 vs->as.nchannels = 2; in vnc_connect()
|
D | monitor.c | 1518 int has_channels, int nchannels) in do_wav_capture() argument 1526 nchannels = has_channels ? nchannels : 2; in do_wav_capture() 1528 if (wav_start_capture (s, path, freq, bits, nchannels)) { in do_wav_capture()
|
/external/esd/include/ |
D | audiofile.h | 469 void afInitChannels (AFfilesetup, int track, int nchannels);
|