Commit graph

1964 commits

Author SHA1 Message Date
Paul Lietar b8e4febb8e main: Fix cache setup 2017-02-22 14:28:09 +00:00
Paul Lietar 541114e2b4 build: only rerun syntex when relevant files have changed 2017-02-22 14:27:54 +00:00
Paul Lietar d940ed161a Allow switching user accounts at runtime
Fixes #130
2017-02-22 04:18:27 +00:00
Paul Lietar 2853e2230b Force shutdown on second ^C 2017-02-21 23:25:04 +00:00
Paul Lietar 2708aa4fef Merge remote-tracking branch 'origin/master' 2017-02-21 22:46:19 +00:00
Paul Lietar 6d00f08d1f Don’t use backtrace library.
It causes problems when crosscompiling
2017-02-21 22:08:42 +00:00
Paul Lietar 58b1625445 Use function types instead of closures for backend builders. 2017-02-21 22:05:31 +00:00
Paul Lietar 5974cf7f24 Fixes for PR #148 2017-02-21 21:49:45 +00:00
Paul Lietar 387c2598e0 Merge branch 'feature/mixer' of https://github.com/romerod/librespot into romerod-feature/mixer 2017-02-21 21:13:21 +00:00
Paul Lietar 5aab6b884a fixup! Add Dockerfile for cross compilation 2017-02-17 10:30:23 +00:00
Paul Lietar eb760f1576 librespot is fairly functional now 2017-02-16 21:40:07 +00:00
Paul Lietar f5a4feeb90 Add Dockerfile for cross compilation 2017-02-16 21:38:48 +00:00
Paul Lietar 7b77d5b87d Merge pull request #151 from JoNil/master
Allow building of the documentation with cargo doc
2017-02-09 03:10:02 +00:00
Paul Lietar 6f1871d822 Merge remote-tracking branch 'origin/master' 2017-02-09 01:33:52 +00:00
Paul Lietar 64f9283b67 Fix Clippy warnings 2017-02-09 01:32:18 +00:00
Paul Lietar 19b06ae5fb Update dependencies.
Rust 1.15 is now required.
2017-02-09 01:27:52 +00:00
Daniel Romero 10f9da410e Remove code to notify spirc manager from the mixer 2017-02-03 17:11:36 +01:00
Daniel Romero a7aba5c8e7 SoftVolumeMixer: move factor in again, otherwise i32 division always results in 0 2017-02-03 14:19:30 +01:00
Daniel Romero 44467a44d6 Call start and stop on mixer 2017-02-03 13:30:30 +01:00
Daniel Romero 5ef28bf2a5 SpircManager: Update state from player and mixer before sending info 2017-02-03 13:22:49 +01:00
Daniel Romero ec0e81f0ae Add documentation for channel macro 2017-02-03 13:22:49 +01:00
Daniel Romero 2c187eb3ae Avoid copying the data array in the player 2017-02-03 13:22:49 +01:00
Daniel Romero 48a43f4948 Move structs which are send across threads to own module 2017-02-03 13:22:49 +01:00
Daniel Romero da537b57f4 AudioFilter: Modify fn modify_stream(&self, data: &mut [i16]); 2017-02-03 13:22:49 +01:00
Daniel Romero 2de5d10a2f SoftMixer: Change volume to AtomicUsize and pass AtomicUsize to SoftVolumeApplier 2017-02-03 13:22:49 +01:00
Daniel Romero 134239d298 Send update messages from mixer to SpircManager 2017-02-03 13:22:49 +01:00
Daniel Romero c8ee08663d Create channel in spirc instead of in mercury and use MercuryResponseSender implemented by macro 2017-02-03 13:22:49 +01:00
Daniel Romero 37916330b4 Add macro to be able to create wrapped senders to send multiple message types to one channel 2017-02-03 13:22:49 +01:00
Daniel Romero e547a0c3da Changes code review 2017-02-03 13:22:49 +01:00
Daniel Romero 636de3fe71 Use stream_editor in player 2017-02-03 13:22:49 +01:00
Daniel Romero 6df2af0ac9 Select mixer dynamically 2017-02-03 13:22:49 +01:00
Daniel Romero 464e85e285 Split mixer into Mixer and StreamEditor 2017-02-03 13:22:49 +01:00
Daniel Romero 59398b3cee Remove mixer from Player and add it to SpircManager 2017-02-03 13:22:49 +01:00
Daniel Romero 347bf05dbe Refactored to have apply_volume in a specifix mixer 2017-02-03 13:22:49 +01:00
Paul Lietar 9873eaf2a0 Better handling of shutdown 2017-01-31 08:21:30 +00:00
Jonathan Nilsson b7607047b1 Allow building of the documentation with cargo doc 2017-01-30 11:54:54 +01:00
Paul Lietar 7be9626836 spirc: Increase the number of volume steps to 64 2017-01-30 04:13:18 +00:00
Paul Lietar d2161ff75f Use EasyBuf instead of copying buffers 2017-01-29 17:54:32 +00:00
Paul Lietar bbc438d9b2 Clippy run 2017-01-29 17:20:12 +00:00
Paul Lietar 17482c236a Stop caching audio keys, reenable audio file cache 2017-01-29 15:36:39 +00:00
Paul Lietar 8aeb266a2d Refactor player and spirc 2017-01-29 15:02:12 +00:00
Paul Lietar f3ba3f4bd4 Update dependencies 2017-01-29 12:50:18 +00:00
Paul Lietar 0da9020ad3 Store DeviceState directly into SpircTask 2017-01-20 14:44:13 +00:00
Paul Lietar bcedfefaa9 Move spirc to tokio 2017-01-20 13:28:13 +00:00
Paul Lietar d62a154786 Move session to tokio over fully 2017-01-20 02:40:07 +00:00
Paul Lietar bf6be73caa Move album cover to tokio 2017-01-20 01:59:47 +00:00
Paul Lietar 379c90c0b2 Move audio_file and channels to tokio 2017-01-20 01:59:47 +00:00
Paul Lietar 05118b40f8 Move MetadataManager to use tokio 2017-01-20 01:59:47 +00:00
Paul Lietar bcbd7afb1a Change mercury to use tokio 2017-01-20 01:59:47 +00:00
Paul Lietar 855a7e87a7 Move AudioKeyManager to tokio 2017-01-20 01:59:47 +00:00