That sequence should work (I just tried it in Linux) unless you configured sndlib --with-modules. In that case, after calling the initialization function, (use-modules (snd sndlib)) to import all the sndlib names.