[alsa-devel] unable to create IPC shm instance; SND_PCM_DIRECT_MAGIC
22 Sep
2015
22 Sep
'15
3:14 a.m.
I was wondering if anyone could explain the point of SND_PCM_DIRECT_MAGIC and dmix->shmptr->magic?
Specifically, what it's doing in pcm_direct.c from this commit? http://git.alsa-project.org/?p=alsa-lib.git;a=blobdiff;f=src/pcm/pcm_direct....
I am trying to use pcm_dmix.c, but this is occasionally failing
first_instance = ret = snd_pcm_direct_shm_create_or_connect(dmix); if (ret < 0) { SNDERR("unable to create IPC shm instance"); goto _err; }
because dmix->shmptr->magic is not correctly set to SND_PCM_DIRECT_MAGIC.
Thanks for any information!
-Mike
3379
Age (days ago)
3379
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mike Bjorge