Searched refs:channels (Results 1 – 11 of 11) sorted by relevance
/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.mk | 9 channels.c \ 38 channels.c \
|
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 69 if (config->channels != 0 && profile_is_channel_count_valid(profile, config->channels)) { in proxy_prepare() 70 proxy->alsa_config.channels = config->channels; in proxy_prepare() 73 config->channels, profile->default_config.channels); in proxy_prepare() 74 proxy->alsa_config.channels = profile->default_config.channels; in proxy_prepare() 92 proxy->frame_size = format_byte_size_map[config->format] * proxy->alsa_config.channels; in proxy_prepare() 158 return proxy->alsa_config.channels; in proxy_get_channel_count()
|
D | alsa_device_profile.c | 336 config->channels = pcm_params_get_min(alsa_hw_params, PCM_PARAM_CHANNELS); in read_alsa_device_config() 340 config->channels < 2 && pcm_params_get_max(alsa_hw_params, PCM_PARAM_CHANNELS) >= 2) { in read_alsa_device_config() 341 config->channels = 2; in read_alsa_device_config() 376 profile->default_config.channels, profile->default_config.rate, in profile_read_device_info()
|
D | alsa_logging.c | 105 ALOGV(" channels:%d", config->channels); in log_pcm_config()
|
/system/media/audio_utils/tests/ |
D | fifo_tests.cpp | 77 size_t frameSize = sizeof(short) * sfinfoin.channels; in main() 78 short *inputBuffer = new short[sfinfoin.frames * sfinfoin.channels]; in main() 87 short *outputBuffer = new short[sfinfoin.frames * sfinfoin.channels]; in main() 91 short *fifoBuffer = new short[frameCount * sfinfoin.channels]; in main() 107 &inputBuffer[framesWritten * sfinfoin.channels], framesToWrite); in main() 128 &outputBuffer[framesRead * sfinfoin.channels], framesToRead); in main() 152 sfinfoout.channels = sfinfoin.channels; in main()
|
/system/extras/sound/ |
D | playwav.c | 38 int pcm_play(unsigned rate, unsigned channels, in pcm_play() argument 59 config.channel_count = channels; in pcm_play() 137 void play_file(unsigned rate, unsigned channels, in play_file() argument 150 pcm_play(rate, channels, fill_buffer, 0); in play_file() 156 unsigned rate, channels; in wav_play() local 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() [all …]
|
/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 | 39 int channels; member
|
/system/core/metricsd/uploader/proto/ |
D | system_profile.proto | 62 // The possible channels for an installation, from least to most stable. 638 // Number of channels (e.g. 1, 2, 8, etc.).
|
/system/core/adb/ |
D | protocol.txt | 225 support a smaller, fixed number of channels using pre-assigned channel
|