Searched refs:frames_to_read (Results 1 - 2 of 2) sorted by relevance

/external/srec/audio/AudioIn/UNIX/src/
H A Daudioin.c429 int frames_to_read; /* Actual number to read */ local
436 frames_to_read = gCodecFragmentSizeInFrames - iReadFrames;
438 frames_read = AudioRead ( CodecBuffer + iReadFrames, frames_to_read );
/external/bluetooth/bluez/audio/
H A Dpcm_bluetooth.c908 snd_pcm_uframes_t frames_to_read; local
924 frames_to_read = size;
926 frames_to_read = (data->link_mtu - data->count) / frame_size;
928 DBG("count=%d frames_to_read=%lu", data->count, frames_to_read);
933 memcpy(data->buffer + data->count, buff, frame_size * frames_to_read);
936 data->count += frames_to_read * frame_size;
938 ret = frames_to_read;
948 ret = frames_to_read;

Completed in 52 milliseconds