Christopher Snowhill
e695e33537
SID Input: Bring back file hints, better this time
...
Now file hint stashes the whole file in memory, so that any other
threads reading the file at the same time will just grab the same memory
block and read it, rather than opening the file repeatedly.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-11 04:43:20 -08:00
Christopher Snowhill
b40b8521dd
SID Input: Open the files for decoding regardless
...
No more file handle caching, this was probably a source of crashes.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-11 04:18:39 -08:00
Christopher Snowhill
4f5e5a9e4e
SID Input: Synchronize cross file access
...
The same file may be accessed from other threads, thanks to this cache
thing. Synchronize access so that only one thread is reading the file at
a time.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-11 03:56:50 -08:00
Christopher Snowhill
be6fda4663
SID Input: Don't close hinted source files
...
The SID decoder uses a hint cache so that when the library requests the
current file open, it will return the exact file already opened, rather
than opening it again. Unfortunately, I was closing the file regardless,
and sometimes, libsidplayfp will reopen the file multiple times, from
other threads, even.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-11 03:55:26 -08:00
Christopher Snowhill
7cea254f4c
Implement framework for dynamic metadata updates
...
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-08 21:21:53 -08:00
Christopher Snowhill
b927f4c02b
Replace more NSDictionary use with literals
...
Use literals to initialize fixed NSDictionary objects in various places.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-08 19:56:04 -08:00
Christopher Snowhill
85c7073649
Reformat my own source code with clang-format
...
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-06 21:49:27 -08:00
Christopher Snowhill
0c4d5002f6
Metadata: Now supports storing cuesheet tags and encoding quality status properties
2022-01-21 22:38:54 -08:00
Christopher Snowhill
684951bdc0
Change a bunch of NSArray declarations to const collection literals
2022-01-18 18:12:57 -08:00
Christopher Snowhill
1540b84b09
Clean up association names
2022-01-18 03:20:07 -08:00
Christopher Snowhill
39a5ee8ab7
Utility: Add stubs to regenerate Info.plist with file type associations
2022-01-18 03:07:32 -08:00
Dzmitry Neviadomski
66efdfcf1e
Roll libsidplayfp
2021-05-04 22:30:10 +03:00
Christopher Snowhill
b32f9d4ac3
libsidplayfp: Fix stereo playback, and implement support for multi-file songs, and fix stereo blending so it applies to the entire output
2021-04-05 14:07:20 -07:00
Christopher Snowhill
c2278b49be
Remove unused variable from SID decoder
2020-02-13 14:42:57 -08:00
Christopher Snowhill
0e4694ba67
Updated libsidplayfp to version 2.0.1
2020-02-13 01:29:08 -08:00
Christopher Snowhill
8e9f8237e3
Fix potential error with SID decoder
2019-12-05 18:13:52 -08:00
Christopher Snowhill
c1a45135b3
Remove unnecessary cleanup code that impeded cases where multiple decoders could handle a single file type.
2019-07-07 00:37:56 -07:00
Chris Moeller
2df8f2acde
Fix sidplay default filter configuration for 8580, which is now a different value format.
2018-05-01 19:31:55 -07:00
Chris Moeller
03b825ced3
Hopefully fix the last of the Automatic Reference Counting issues that remained.
2016-06-19 12:57:18 -07:00
Chris Moeller
18dac8e493
Added error checking to SID tune loading
2015-04-13 00:42:48 -07:00
Chris Moeller
ddab71158e
Change sidplay decoder priority so .mus hits the MIDI input first
2015-04-12 23:28:06 -07:00
Chris Moeller
08dc22009d
Implemented basic residfp support
2014-12-07 22:26:31 -08:00