Searched refs:ext_format (Results 1 – 9 of 9) sorted by relevance
/external/adhd/cras/src/tests/ |
D | iodev_unittest.cc | 293 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 …]
|
D | bt_io_unittest.cc | 136 free(iodev->ext_format); in close_dev() 138 iodev->ext_format = NULL; in close_dev()
|
D | loopback_iodev_unittest.cc | 79 iodev.ext_format = &fmt_; in TEST_F()
|
D | audio_thread_unittest.cc | 107 iodev->ext_format = &format_; in SetupDevice()
|
/external/adhd/cras/src/server/ |
D | cras_iodev.c | 390 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 …]
|
D | dev_io.c | 62 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()
|
D | cras_iodev.h | 227 struct cras_audio_format *ext_format; member
|
D | audio_thread.c | 303 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()
|
D | cras_iodev_list.c | 143 dev->ext_format = NULL; in add_dev_to_list() 650 iodevs[i]->ext_format); in add_stream_to_open_devs()
|