/system/media/audio_utils/ |
D | tinysndfile.c | 184 unsigned channels = little2u(&fmt[2]); in sf_open_read() local 185 if ((channels < 1) || (channels > FCC_8)) { in sf_open_read() 187 fprintf(stderr, "unsupported channels %u\n", channels); in sf_open_read() 208 unsigned bytesPerFrame = (bitsPerSample >> 3) * channels; in sf_open_read() 211 handle->info.channels = channels; in sf_open_read() 302 (info->channels > 0 && info->channels <= FCC_8) && in sf_open_write() 329 wav[22] = info->channels; in sf_open_write() 352 unsigned blockAlignment = (bitsPerSample >> 3) * info->channels; in sf_open_write() 443 memcpy_to_i16_from_u8(ptr, (unsigned char *) ptr, actualFrames * handle->info.channels); in sf_readf_short() 447 my_swab(ptr, actualFrames * handle->info.channels); in sf_readf_short() [all …]
|
D | Android.bp | 34 "channels.c",
|
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 83 if (config->channels != 0 && profile_is_channel_count_valid(profile, config->channels)) { in proxy_prepare() 84 proxy->alsa_config.channels = config->channels; in proxy_prepare() 86 proxy->alsa_config.channels = profile_get_closest_channel_count(profile, config->channels); in proxy_prepare() 88 config->channels, proxy->alsa_config.channels); in proxy_prepare() 90 if (config->channels != 0) { in proxy_prepare() 109 proxy->frame_size = format_byte_size_map[config->format] * proxy->alsa_config.channels; in proxy_prepare() 189 return proxy->alsa_config.channels; in proxy_get_channel_count() 285 dprintf(fd, " channels: %d\n", proxy->alsa_config.channels); in proxy_dump()
|
D | alsa_device_profile.c | 365 config->channels = pcm_params_get_min(alsa_hw_params, PCM_PARAM_CHANNELS); in read_alsa_device_config() 369 config->channels < 2 && pcm_params_get_max(alsa_hw_params, PCM_PARAM_CHANNELS) >= 2) { in read_alsa_device_config() 370 config->channels = 2; in read_alsa_device_config() 405 profile->default_config.channels, profile->default_config.rate, in profile_read_device_info() 649 dprintf(fd, " channels: %d\n", profile->default_config.channels); in profile_dump()
|
D | alsa_logging.c | 105 ALOGV(" channels:%d", config->channels); in log_pcm_config()
|
/system/media/audio_utils/tests/ |
D | fifo_tests.cpp | 98 size_t frameSize = sizeof(int16_t) * sfinfoin.channels; in main() 99 int16_t *inputBuffer = new int16_t[sfinfoin.frames * sfinfoin.channels]; in main() 108 int16_t *outputBuffer = new int16_t[sfinfoin.frames * sfinfoin.channels]; in main() 111 int16_t *fifoBuffer = new int16_t[frameCount * sfinfoin.channels]; in main() 129 &inputBuffer[framesWritten * sfinfoin.channels], framesToWrite); in main() 164 &outputBuffer[framesRead * sfinfoin.channels], framesToRead); in main() 225 sfinfoout.channels = sfinfoin.channels; in main()
|
/system/extras/sound/ |
D | playwav.c | 38 int pcm_play(unsigned rate, unsigned channels, in pcm_play() argument 61 config.channel_count = channels; in pcm_play() 138 void play_file(unsigned rate, unsigned channels, in play_file() argument 151 pcm_play(rate, channels, fill_buffer, 0); in play_file() 193 int wav_rec(const char *fn, unsigned channels, unsigned rate) in wav_rec() argument 209 hdr.num_channels = channels; in wav_rec() 335 unsigned channels = 1; in main() local 346 channels = 2; in main() 348 channels = 1; in main() 376 return wav_rec(fn, channels, rate); in main()
|
/system/bt/embdrv/sbc/encoder/include/ |
D | sbc_if.h | 33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
|
/system/media/audio_utils/include/audio_utils/ |
D | sndfile.h | 40 int channels; member
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | DeployAgent.java | 28 import java.nio.channels.Channels; 29 import java.nio.channels.FileChannel; 30 import java.nio.channels.WritableByteChannel;
|
D | ApkArchive.java | 26 import java.nio.channels.FileChannel;
|
/system/media/audio/include/system/ |
D | audio_effect.h | 485 uint32_t channels; // channel mask (see audio_channel_mask_t in audio.h) member
|
/system/media/audio_utils/fuzz/sndfile_fuzzer/ |
D | sndfile_fuzzer.cpp | 122 getSizeByType(input_format) * desired_frame_count * info.channels; in LLVMFuzzerTestOneInput()
|
/system/timezone/debug_tools/host/main/java/ |
D | ZoneSplitter.java | 21 import java.nio.channels.FileChannel;
|
/system/core/adb/ |
D | protocol.txt | 249 support a smaller, fixed number of channels using pre-assigned channel
|
/system/apex/docs/ |
D | README.md | 122 files to be delivered via existing channels such as package installer apps and
|
/system/update_engine/ |
D | README.md | 527 channels, getting the current status of update process, doing a rollback,
|