librespot/playback/src
Sebastian Dröge ab562cc8d8
Update GStreamer to 0.18 and clean up (#964)
* Update GStreamer backend to 0.18
* Don't manually go through all intermediate states when shutting down the GStreamer backend; that happens automatically
* Don't initialize GStreamer twice
* Use less stringly-typed API for configuring the appsrc
* Create our own main context instead of stealing the default one; if the application somewhere else uses the default main context this would otherwise fail in interesting ways
* Create GStreamer pipeline more explicitly instead of going via strings for everything
* Add an audioresample element before the sink in case the sink doesn't support the sample rate
* Remove unnecessary `as_bytes()` call
* Use a GStreamer bus sync handler instead of spawning a new thread with a mainloop; it's only used for printing errors or when the end of the stream is reached, which can also be done as well when synchronously handling messages.
* Change `expect()` calls to proper error returns wherever possible in GStreamer backend
* Store asynchronously reported error in GStreamer backend and return them on next write
* Update MSRV to 1.56
2022-02-13 21:52:02 +01:00
..
audio_backend Update GStreamer to 0.18 and clean up (#964) 2022-02-13 21:52:02 +01:00
decoder Upgrade to Symphonia v0.5. 2022-02-01 19:02:14 -05:00
mixer Address clippy lint warnings for rust 1.57 2021-12-03 12:51:41 -06:00
config.rs New dynamic limiter for very wide dynamic ranges (#935) 2022-01-14 23:31:29 +01:00
convert.rs Revert math::round_half_to_even 2021-05-31 23:35:48 +02:00
dither.rs Change hand-picked RNGs back to SmallRng 2021-10-21 19:31:58 +02:00
lib.rs Improve player (#823) 2021-09-20 19:29:12 +02:00
player.rs Upgrade to Symphonia v0.5. 2022-02-01 19:02:14 -05:00