Juhana Sadeharju <kouhia(a)nic.funet.fi> writes:
What is "/dev/shm"? How it is used?
"df" shows:
none 62812 0 62812 0% /dev/shm
On many systems it is a mount point for a tmpfs filesystem. This is
required by some POSIX shm implementations (shmopen(), etc.). I think
it is starting to be created automatically by some (many?) current
distributions.
Last year, Paul Davis wrote a version of JACK (in CVS only) that
required POSIX shm. There was massive confusion at the time, because
many systems did not have the appropriate mount configured. And, that
is not the kind of thing JACK's `make install' should do.
My LADSPA plugin would allocate a segment of shared
memory from "/dev/shm".
That is possible because most likely all Linuxes have that device.
Then somehow I create a backdoor for LADSPA controls. The backdoor goes
through the shared memory segment. Finally, I would write an independent
GTK application which provides my own GUI to the plugin.
If one does not use the GTK application, then all what is available
are controls provided by the host.
Nice. Personally, I think a socket interface would be better, though.
--
joq