sound: Fix compile when using libsamplerate.

The change in commit 62b5c6028.. broke the compile.