aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-03 20:41:18 -0700
committerChris Robinson <[email protected]>2015-10-03 20:41:18 -0700
commit70fbc2b1ff254295338c6d42b41d9fdb43b02d8f (patch)
tree71b1e437aca72282b170d584f270c429a84b3149 /OpenAL32
parentaa10068ca20c2241c8d80627a5be3aeb39efcea2 (diff)
Add a function to get a list of data files
The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order.
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 5051baf7..837d9e76 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -971,6 +971,8 @@ void FillCPUCaps(ALuint capfilter);
FILE *OpenDataFile(const char *fname, const char *subdir);
+vector_al_string SearchDataFiles(const char *match, const char *subdir);
+
/* Small hack to use a pointer-to-array type as a normal argument type.
* Shouldn't be used directly. */
typedef ALfloat ALfloatBUFFERSIZE[BUFFERSIZE];