Christopher Snowhill
e2e83ea760
FFmpeg/FLAC/Opus/Vorbis Inputs: Fix metadata
...
The dynamic metadata functions should only activate for unseekable
streams, not seekable streams, and not local files.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-09 15:04:49 -08:00
Christopher Snowhill
0012d1b17e
Implement dynamic metadata reading for streams
...
Supported by FFmpeg, FLAC, Ogg Vorbis, and Opus.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-09 13:44:50 -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
477feaab1d
Now properly supports sample format changing
...
Sample format can now change dynamically at play time, and the player
will resample it as necessary, extrapolating edges between changes to
reduce the potential for gaps.
Currently supported formats for this:
- FLAC
- Ogg Vorbis
- Any format supported by FFmpeg, such as MP3 or AAC
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-07 19:18:45 -08:00
Christopher Snowhill
22d8b8c132
Implement channel config fields for inputs
...
This implements channel masks for inputs where applicable, namely the
CoreAudio decoder, FFmpeg, FLAC, and WavPack. All others will still use
guessing from the channel number.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-02-07 02:06:51 -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
Christopher Snowhill
00f1e0957c
FLAC: Move libFLAC decoder to higher priority than any potential system decoder, support arbitrary sample bit depths
2021-12-11 00:22:19 -08:00
Christopher Snowhill
fdae7eec21
File info: Implemented support for Album Artist and Codec fields
2021-10-01 19:18:42 -07: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
03b825ced3
Hopefully fix the last of the Automatic Reference Counting issues that remained.
2016-06-19 12:57:18 -07:00
Chris Moeller
0e3644177e
Updated everything else to ARC, and plugged a release cycle.
2016-05-05 13:05:39 -07:00
Chris Moeller
9d5a1fc32e
Handled FLAC seeking to the end of file, and stopping on seek errors in general
2014-03-26 02:46:36 -07:00
Chris Moeller
63fba5930e
Implemented support for multiple decoders per file name extension, with a floating point priority control per interface. In the event that more than one input is registered to a given extension, and we match that extension, it will be passed off to an instance of the multi-decoder wrapper, which will try opening the file with all of the decoders in order of priority, until either one of them accepts it, or all of them have failed. This paves the way for adding a VGMSTREAM input, so I can give it a very low priority, since it has several formats that are verified by file name extension only. All current inputs have been given a priority of 1.0, except for CoreAudio, which was given a priority of 0.5, because it contains an MP3 and AC3 decoders that I'd rather not use if I don't have to.
2013-10-21 10:54:11 -07:00
Chris Moeller
613c71c41f
mamburu: Fix for a crash caused by some weird flacs that have multiple STREAMINFO metadata blocks with wrong values
2013-10-11 07:25:41 -07:00
Chris Moeller
e5a648578b
mamburu: Logging improved, no more excessive logging in release builds
2013-10-11 05:03:55 -07:00
Chris Moeller
ec0e45381e
Cleaned up most of the warnings, eliminated use of deprecated APIs, and fixed the hotkeys crashing.
2013-10-03 01:00:58 -07:00
vspader
081ca505dc
Removed debug log.
2009-01-19 17:16:24 +00:00
vspader
a9d103261f
Fixed bug in flac decoder.
2008-01-23 02:45:57 +00:00
vspader
5715522470
Moved to frame-based reading/seeking instead of byte/second based. Some formats have still not been updated and are broken.
...
Added icons for other formats.
2007-11-24 20:16:27 +00:00
vspader
678d406879
Bug fix for flac files.
2007-11-04 03:08:41 +00:00
vspader
3ee193e975
Updated mime types.
2007-10-14 18:39:58 +00:00
vspader
d5919bc93e
Further cleanup and memory leak fixes.
2007-10-13 07:51:42 +00:00
vspader
88aecc7de2
Added AudioContainer plugin and made pls and m3u loaders that use it.
2007-10-09 01:20:46 +00:00
vspader
78a908274b
Fixed bug where unseekable songs still allowed the user to move the slider and updated the time.
2007-05-27 15:11:30 +00:00
vspader
d3a7ed611f
Moved FLAC plugin to new source system along with updated framework.
2007-03-04 21:32:03 +00:00
vspader
53abdde705
Fix for Flac to work with 24bit files (thanks to Play).
...
Updated COMPILE instructions to avoid confusion about scripts directory.
2007-02-27 23:56:52 +00:00
vspader
927b65a4a5
Merged with cog-audio-framework branch. Cog now uses plugins.
2007-02-24 20:36:27 +00:00