1594 Commits

Author SHA1 Message Date
casey langen
1721f8adf7 Fixed clipping when dealing with float -> short conversion, and added
very simple triangle dithering.
2017-12-21 17:46:38 +00:00
Greg Fitzgerald
7e1fb2e197 Fix bash path to be more linux/bsd agnostic 2017-12-22 22:24:48 -05:00
casey langen
650f349710 Initial implementation of sndio output driver for BSD. 2017-12-21 12:46:36 +00:00
casey langen
402008e148 Added a skeleton plugin for sndio. Also updated build script stuff to not include ALSA for FreeBSD. 2017-12-21 09:12:39 +00:00
casey langen
e2f247669a Added the ability to switch between IPV4 and IPV6 in the server plugin. 2017-12-21 23:19:37 -08:00
casey langen
70a8aad86d The version of libmicrohttpd that ships with FreeBSD has a bug that causes the server to hang on shutdown. This patch adds on-demand fetching and compiling of the library on FreeBSD systems. 2017-12-21 05:16:05 +00:00
casey langen
88b7e994a5 FreeBSD compiles and links... but doesn't run very well. 2017-12-20 22:29:29 +00:00
Casey Langen
ba5a081b1b Compressed settings layout a bit. 2017-12-18 08:46:30 -08:00
casey langen
ba0e110e1b Added a new "PreampOverlay" that allows the user to configure not only
replay gain support, but generic preamp functionality as well.
2017-12-18 00:20:28 -08:00
casey langen
debe708bec Added core work required for preamp support. 2017-12-17 21:18:17 -08:00
casey langen
b7157b768e Updated replay gain readout in the setting screen to display the current
mode. Also added some missing exception handling in PreferencesKeys.
2017-12-17 11:49:17 -08:00
casey langen
42c91065a5 Make sure orphaned replay_gain resources are removed from the database.
Also, ensure we don't insert invalid/default replay_gain values for
tracks during indexer time.
2017-12-17 11:00:45 -08:00
casey langen
536cac1266 Added replay gain support for ogg, flac, and mp4. 2017-12-16 23:54:34 -08:00
casey langen
eae2f896f9 Updated FfmpegDecoder CMakeLists comments. 2017-12-16 23:17:34 -08:00
casey langen
24b714ff4b - use the new musikcube-bin git repo as a submodule for including
binaries. this will help keep the main repo binary-free.
- properly isolate ffmpegdecoder from the main project file in windows.
2017-12-16 23:17:34 -08:00
Casey Langen
18aa658df2 Fixed macOS compile. 2017-12-16 23:17:34 -08:00
casey langen
2e5c3fb8ac Fixed an order-of-operations bug that was leading to a double free in
the ffmpeg decoder. Also patched up a memory leak -- we weren't
completely freeing the formatContext.
2017-12-16 23:17:34 -08:00
casey langen
ead6db34a1 Fixed the order in which we free libav resources, hopefully fixing a
somewhat difficult to reproduce crash when shutting down the decoder.
2017-12-16 23:17:34 -08:00
casey langen
cc35a0e3c8 Added VS2017 project (but not lib/dll yet), and fixed a memory leak in
the FfmpegDecoder source.
2017-12-16 23:17:34 -08:00
casey langen
bca290d4e6 Partial implementation of FfmpegDecoder.
Working: custom i/o, codec detection (probing), decoding, seeking, basic format detection.
2017-12-16 23:17:33 -08:00
casey langen
4f12657ae5 Preliminary support for ReplayGain. 2017-12-16 23:15:52 -08:00
casey langen
6ec4fe0b30 Fixed bug where selection and scroll position may get funky when
switching categories in browse view.
2017-12-13 23:23:24 -08:00
casey langen
8b307af421 Allow for the NullOut setting to have a variable playback speed. 2017-12-13 21:05:30 -08:00
casey langen
4a0a0005d1 Fixed some Activity animations and some bugs in header fetching. 2017-12-09 15:20:44 -08:00
casey langen
256ce45bde Added a simple scroll position indicator to ListWindow. 2017-12-06 01:34:13 -08:00
casey langen
ab10608d7a Playlist updates are now reflected in the UI, in real time, when changed
from remote devices.
2017-12-05 15:10:15 -08:00
casey langen
fc84edf72f Include "environment" information in a successful auth response --
includes http server port, api version, and sdk version.
2017-12-05 15:09:34 -08:00
casey langen
a66c14e931 Fixed some proguard wonkiness. 2017-12-04 12:28:04 -08:00
casey langen
dca2526879 Fixed compiler errors and warning that showed up on Debian Stretch. 2017-12-04 00:12:21 +00:00
casey langen
e9f924fef8 A bunch of small changes in preparation for release:
1. Finalized the initial `IEncoder` interface with a new
`GetPreferences()` method so external parties can configure encoder
operation.

2. Updated `IEnvironment` interface with a new `GetPreferences()` call
so plugins (e.g. encoders) can be configured by other plugins.

3. Fixed sort order in plugin list to be alphabetical.

4. Ensure the main app depends on the "stockencoders" plugin in the
Visual Studio solution.
2017-12-03 14:44:42 -08:00
casey langen
51be0ccfb4 Fixed a bug in playlist re-arranging when moving items up (down and
delete were fine). Also improved snackbars with a "VIEW" button that
jumps to updated playlists.
2017-12-02 23:37:16 -08:00
casey langen
dc5bcef940 Ensure OfflineDb gets initialized early so it can install it's WSS
injector.
2017-12-02 16:35:14 -08:00
casey langen
5f4375afc5 Updated our custom AndroidVideoCache with a bug fix that was causing
corrupted downloads when trying to resume downloads that were returning
200 instead of 206.
2017-12-02 16:19:28 -08:00
casey langen
cc42d9250b Playlist editing polish: "EDIT" button in "view playlist" toolbar, some
better error handling, toasts, and icon color updates.
2017-12-01 19:52:18 -08:00
casey langen
5796b1e46d Properly set the modified flag so we don't requery and clobber edits. 2017-12-01 08:32:32 -08:00
casey langen
5111b3ed30 SQL WHERE IN(...) does not preserve order, meaning certain playlist
operations could result in jumbled track orders. This fixes that by
eating some extra memory temporarily.
2017-12-01 00:32:22 -08:00
casey langen
78c57b8f10 Incremental work to support playlist editing. 2017-12-01 00:14:06 -08:00
casey langen
fc99911ad1 Fixed crash when attempting to query tracks by externalId only. 2017-12-01 00:13:45 -08:00
casey langen
153cc9c708 Playlist track sort order cleanup, part two. 2017-11-30 10:41:48 -08:00
casey langen
5fdffc292d Small update to Indexer to ensure playlist sort order is always
sequential with no holes.
2017-11-30 10:10:09 -08:00
casey langen
8bb70e7d98 Added "remove (track) from playlist" functionality to the Android client. 2017-11-29 23:13:26 -08:00
casey langen
ede67d9726 Fixed AppendPlaylistQuery initial sort_order bug. 2017-11-29 23:12:51 -08:00
casey langen
a01603d200 Added playlist renaming to Android client UI. 2017-11-28 22:33:20 -08:00
casey langen
c8c9d94f9a Fixed fopen() mode in LameEncoder to ensure the gapless header is properly written. 2017-11-28 22:05:46 -08:00
casey langen
2942b81a2c Updated to Kotlin 1.2.0 and ExoPlayer 2.6.0 2017-11-28 21:53:45 -08:00
casey langen
903ebfdbe4 Version bump and changelog in preparation for release. 2017-11-28 10:53:16 -08:00
casey langen
e0bfe2c987 Added some more error-checking around the HttpServer's range header to
ensure we don't try to read invalid offsets.
2017-11-28 09:51:06 -08:00
casey langen
d8b0aef307 Fixed a bug in HttpServer where the byte range response header's "to"
field may be larger than the size.
2017-11-28 01:35:51 -08:00
casey langen
fb869e27b3 A few spotlight tweaks after testing on physical hardware. 2017-11-27 19:25:28 -08:00
casey langen
a6d0f1d351 Added a spotlight feature that shows the user how to switch between
remote and streaming mode. Also updated GaplessHeaderService to require
less bandwidth, with more error checking.
2017-11-27 19:15:45 -08:00