/system/media/audio_utils/ |
channels.c | 65 * i.e. in_buff == out_buff 68 #define EXPAND_CHANNELS(in_buff, in_buff_chans, out_buff, out_buff_chans, num_in_bytes, zero) \ 70 size_t num_in_samples = num_in_bytes / sizeof(*in_buff); \ 74 typeof(in_buff) src_ptr = in_buff + num_in_samples - 1; \ 96 * i.e. in_buff == out_buff 99 #define EXPAND_MONO_TO_MULTI(in_buff, in_buff_chans, out_buff, out_buff_chans, num_in_bytes, zero) \ 101 size_t num_in_samples = num_in_bytes / sizeof(*in_buff); \ 105 typeof(in_buff) src_ptr = in_buff + num_in_samples - 1; [all...] |
/system/media/audio_utils/include/audio_utils/ |
channels.h | 26 * in_buff points to the buffer of samples 39 size_t adjust_channels(const void* in_buff, size_t in_buff_chans,
|
/external/qemu/telephony/ |
modem_driver.c | 34 char in_buff[ 1024 ]; member in struct:__anon33947 53 int ret = sizeof(md->in_buff) - md->in_pos; 87 md->in_buff[ md->in_pos ] = c; 99 md->in_buff[ md->in_pos ] = 0; 102 D( "%s: << %s\n", __FUNCTION__, md->in_buff ); 103 answer = amodem_send(android_modem, md->in_buff); 118 md->in_buff[ md->in_pos++ ] = c; 119 if (md->in_pos == sizeof(md->in_buff)) {
|
simulator.c | 25 char in_buff[ 128 ]; member in struct:__anon33958 99 ret = sys_channel_read( client->channel, client->in_buff + client->in_pos, 1 ); 105 if (client->in_buff[client->in_pos] == '\r' || 106 client->in_buff[client->in_pos] == '\n' ) { 107 const char* cmd = client->in_buff; 108 client->in_buff[client->in_pos] = 0;
|
test2.c | 41 char in_buff[ 128 ]; member in struct:__anon33965 111 ret = sys_channel_read( client->channel, client->in_buff + client->in_pos, 1 ); 117 if (client->in_buff[client->in_pos] == '\r' || 118 client->in_buff[client->in_pos] == '\n' ) { 119 const char* cmd = client->in_buff; 120 client->in_buff[client->in_pos] = 0;
|
/external/qemu/hw/android/goldfish/ |
audio.c | 110 struct goldfish_audio_buff in_buff[1]; member in struct:goldfish_audio_state 265 goldfish_audio_buff_put (s->in_buff, f); 281 goldfish_audio_buff_get (s->in_buff, f, version_id); 308 goldfish_audio_buff_reset( s->in_buff ); 317 goldfish_audio_buff_set_length( s->in_buff, count ); 418 goldfish_audio_buff_write( s->in_buff ); 479 goldfish_audio_buff_set_address( s->in_buff, val ); 492 goldfish_audio_buff_set_address_high( s->in_buff, val ); 555 if (goldfish_audio_buff_available( s->in_buff ) == 0 ) 559 int read = goldfish_audio_buff_recv( s->in_buff, avail, s ) [all...] |
/system/core/adb/ |
jdwp_service.c | 112 char in_buff[4]; /* input character to read PID */ member in struct:JdwpProcess 242 char* p = proc->in_buff + proc->in_len; 267 memcpy(temp, proc->in_buff, 4);
|
/hardware/libhardware/modules/usbaudio/ |
audio_hw.c | 122 * in_buff points to the buffer of PCM24LE samples 130 * This conversion is safe to do in-place (in_buff == out_buff). 133 static size_t convert_24_3_to_16(const unsigned char * in_buff, size_t num_in_samples, 138 * i.e. in_buff == out_buff 142 const unsigned char* src_ptr = in_buff; 156 * in_buff points to the buffer of PCM32 samples 164 * This conversion is safe to do in-place (in_buff == out_buff). 167 static size_t convert_32_to_16(const int32_t * in_buff, size_t num_in_samples, short * out_buff) 171 * i.e. in_buff == out_buff 175 const int32_t* src_ptr = in_buff; [all...] |