Searched refs:play_shm (Results 1 – 2 of 2) sorted by relevance
206 EXPECT_EQ(&area, stream_.play_shm.area); in StreamConnected()208 EXPECT_EQ(NULL, stream_.play_shm.area); in StreamConnected()
163 struct cras_audio_shm play_shm; member1175 struct cras_audio_shm *shm = &stream->play_shm; in handle_playback_request()1186 buf = cras_shm_get_write_buffer_base(&stream->play_shm); in handle_playback_request()1426 if (stream->play_shm.area) { in free_shm()1427 munmap(stream->play_shm.area, stream->play_shm_size); in free_shm()1430 stream->play_shm.area = NULL; in free_shm()1465 rc = config_shm(&stream->play_shm, in stream_connected()1475 cras_shm_set_volume_scaler(&stream->play_shm, in stream_connected()1645 if (stream->play_shm.area != NULL) in client_thread_set_stream_volume()1646 cras_shm_set_volume_scaler(&stream->play_shm, volume_scaler); in client_thread_set_stream_volume()