kr shm api and alsa adapter stubs