Searched refs:mock_audio_area (Results 1 – 4 of 4) sorted by relevance
46 static cras_audio_area* mock_audio_area; variable76 if (!mock_audio_area) { in ResetStubData()77 mock_audio_area = (cras_audio_area*)calloc( in ResetStubData()78 1, sizeof(*mock_audio_area) + sizeof(cras_channel_area) * 2); in ResetStubData()89 free(mock_audio_area); in TearDown()90 mock_audio_area = NULL; in TearDown()361 iodev->area = mock_audio_area; in cras_iodev_init_audio_area()377 mock_audio_area->channels[0].buf = base_buffer; in cras_audio_area_config_buf_pointers()
32 static cras_audio_area* mock_audio_area; variable49 mock_audio_area = (cras_audio_area*)calloc( in SetUp()50 1, sizeof(*mock_audio_area) + sizeof(cras_channel_area) * 2); in SetUp()80 free(mock_audio_area); in TearDown()227 mock_audio_area->channels[0].buf = base_buffer; in cras_audio_area_config_buf_pointers()235 iodev->area = mock_audio_area; in cras_iodev_init_audio_area()
16 static cras_audio_area mock_audio_area; variable60 iodev->area = &mock_audio_area; in cras_iodev_init_audio_area()
47 static cras_audio_area* mock_audio_area; variable82 if (!mock_audio_area) { in ResetStubData()83 mock_audio_area = (cras_audio_area*)calloc( in ResetStubData()84 1, sizeof(*mock_audio_area) + sizeof(cras_channel_area) * 2); in ResetStubData()111 free(mock_audio_area); in TearDown()112 mock_audio_area = NULL; in TearDown()906 iodev->area = mock_audio_area; in cras_iodev_init_audio_area()924 mock_audio_area->channels[0].buf = base_buffer; in cras_audio_area_config_buf_pointers()