Searched refs:area_ (Results 1 – 2 of 2) sorted by relevance
166 size_t sz = sizeof(*area_) + sizeof(struct cras_channel_area) * 2; in get_buffer()171 area_ = (cras_audio_area*)calloc(1, sz); in get_buffer()172 area_->frames = *num; in get_buffer()173 area_->num_channels = 2; in get_buffer()174 area_->channels[0].buf = audio_buffer_; in get_buffer()175 channel_area_set_channel(&area_->channels[0], CRAS_CH_FL); in get_buffer()176 area_->channels[0].step_bytes = 4; in get_buffer()177 area_->channels[1].buf = audio_buffer_ + 2; in get_buffer()178 channel_area_set_channel(&area_->channels[1], CRAS_CH_FR); in get_buffer()179 area_->channels[1].step_bytes = 4; in get_buffer()[all …]
164 size_t sz = sizeof(*area_) + sizeof(struct cras_channel_area) * 2; in get_buffer()169 area_ = (cras_audio_area*)calloc(1, sz); in get_buffer()170 area_->frames = *num; in get_buffer()171 area_->num_channels = 2; in get_buffer()172 area_->channels[0].buf = audio_buffer_; in get_buffer()173 channel_area_set_channel(&area_->channels[0], CRAS_CH_FL); in get_buffer()174 area_->channels[0].step_bytes = 4; in get_buffer()175 area_->channels[1].buf = audio_buffer_ + 2; in get_buffer()176 channel_area_set_channel(&area_->channels[1], CRAS_CH_FR); in get_buffer()177 area_->channels[1].step_bytes = 4; in get_buffer()[all …]