Check the number of available samples before calling the capture method
treeb23d5bb282553f028d96795320d2f5b5b10de5fe
-rw-r--r-- 6 .gitignore
drwxr-xr-x - Alc
-rw-r--r-- 23346 CMakeLists.txt
-rw-r--r-- 25269 COPYING
drwxr-xr-x - OpenAL32
-rw-r--r-- 1662 README
-rw-r--r-- 1310 XCompile.txt
-rw-r--r-- 10330 alsoftrc.sample
drwxr-xr-x - build
drwxr-xr-x - cmake
-rw-r--r-- 3035 config.h.in
drwxr-xr-x - include
-rw-r--r-- 300 openal.pc.in
drwxr-xr-x - utils