Home
last modified time | relevance | path

Searched refs:ext_format (Results 1 – 9 of 9) sorted by relevance

/external/adhd/cras/src/tests/
Diodev_unittest.cc293 EXPECT_EQ(SND_PCM_FORMAT_S16_LE, iodev_.ext_format->format); in TEST_F()
294 EXPECT_EQ(48000, iodev_.ext_format->frame_rate); in TEST_F()
295 EXPECT_EQ(2, iodev_.ext_format->num_channels); in TEST_F()
311 EXPECT_EQ(SND_PCM_FORMAT_S32_LE, iodev_.ext_format->format); in TEST_F()
312 EXPECT_EQ(48000, iodev_.ext_format->frame_rate); in TEST_F()
313 EXPECT_EQ(2, iodev_.ext_format->num_channels); in TEST_F()
329 EXPECT_EQ(SND_PCM_FORMAT_S16_LE, iodev_.ext_format->format); in TEST_F()
330 EXPECT_EQ(44100, iodev_.ext_format->frame_rate); in TEST_F()
331 EXPECT_EQ(2, iodev_.ext_format->num_channels); in TEST_F()
345 EXPECT_EQ(SND_PCM_FORMAT_S16_LE, iodev_.ext_format->format); in TEST_F()
[all …]
Dbt_io_unittest.cc136 free(iodev->ext_format); in close_dev()
138 iodev->ext_format = NULL; in close_dev()
Dloopback_iodev_unittest.cc79 iodev.ext_format = &fmt_; in TEST_F()
Daudio_thread_unittest.cc107 iodev->ext_format = &format_; in SetupDevice()
/external/adhd/cras/src/server/
Dcras_iodev.c390 iodev->ext_format->num_channels = in adjust_dev_channel_for_dsp()
395 iodev->ext_format->num_channels = in adjust_dev_channel_for_dsp()
417 cras_audio_format_set_default_channel_layout(iodev->ext_format); in update_channel_layout()
420 iodev->ext_format, in update_channel_layout()
448 iodev->ext_format = malloc(sizeof(struct cras_audio_format)); in cras_iodev_set_format()
449 if (!iodev->format || !iodev->ext_format) in cras_iodev_set_format()
452 *iodev->ext_format = *fmt; in cras_iodev_set_format()
467 iodev->ext_format->frame_rate = actual_rate; in cras_iodev_set_format()
484 iodev->ext_format->format = actual_format; in cras_iodev_set_format()
489 iodev->ext_format->num_channels = actual_num_channels; in cras_iodev_set_format()
[all …]
Ddev_io.c62 dev->ext_format->frame_rate, in update_estimated_rate()
496 unsigned int frame_bytes = cras_get_format_bytes(odev->ext_format); in write_streams()
551 nwritten = dev_stream_mix(curr, odev->ext_format, in write_streams()
592 est_rate = adev->dev->ext_format->frame_rate * in update_dev_wakeup_time()
Dcras_iodev.h227 struct cras_audio_format *ext_format; member
Daudio_thread.c303 dev->ext_format, dev, &init_cb_ts); in append_stream()
556 struct cras_audio_format *fmt = adev->dev->ext_format; in append_dev_dump_info()
Dcras_iodev_list.c143 dev->ext_format = NULL; in add_dev_to_list()
650 iodevs[i]->ext_format); in add_stream_to_open_devs()