mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-21 04:48:21 +01:00
Reduce internal path limit for more common cases
This commit is contained in:
parent
78eafcba70
commit
47381e7e3d
@ -7,7 +7,10 @@
|
||||
|
||||
/* reasonable limits */
|
||||
enum {
|
||||
PATH_LIMIT = 32768,
|
||||
/* Windows generally only allows 260 chars in path, but other OSs have higher limits, and we handle
|
||||
* UTF-8 (that typically uses 2-bytes for common non-latin codepages) plus player may append protocols
|
||||
* to paths, so it should be a bit higher. Most people wouldn't use huge paths though. */
|
||||
PATH_LIMIT = 4096, /* (256 * 8) * 2 = ~max_path * (other_os+extra) * codepage_bytes */
|
||||
STREAM_NAME_SIZE = 255,
|
||||
VGMSTREAM_MAX_CHANNELS = 64,
|
||||
VGMSTREAM_MIN_SAMPLE_RATE = 300, /* 300 is Wwise min */
|
||||
|
Loading…
x
Reference in New Issue
Block a user