Jonas Kvinge
a2cae06582
Remove QtConcurrent include
2024-08-24 17:01:53 +02:00
Jonas Kvinge
7ebcc73a49
More const detach fixes
2024-08-23 20:30:59 +02:00
Jonas Kvinge
9b5fe3bfd6
GstEnginePipeline: Rename PlaybinProbe to PadProbe
2024-08-23 00:17:33 +02:00
Jonas Kvinge
91eef0d695
GstEnginePipeline: Sort variables
2024-08-23 00:08:14 +02:00
Jonas Kvinge
cbce9892d5
Replace slots with Q_SLOTS
2024-08-12 01:06:15 +02:00
Jonas Kvinge
358da72ffe
Replace signals with Q_SIGNALS
2024-08-11 23:23:12 +02:00
Jonas Kvinge
9666feca37
GstEngine: Rename variable
2024-08-11 18:40:07 +02:00
Jonas Kvinge
03eb52eac8
GstEngine: Ensure no fading is done with exclusive mode
2024-08-11 17:37:23 +02:00
Jonas Kvinge
6562cc710c
GstEngine: Disconnect old pipelines
...
Fixes #1518
2024-08-11 15:53:41 +02:00
Jonas Kvinge
222001bc13
GstEnginePipeline: Fix buffering
2024-08-11 14:52:00 +02:00
Jonas Kvinge
548fa3f6ee
Wait for set state to finish before deleting pipeline
...
Setting state to GST_STATE_NULL sometimes blocks, to fix this use the threadpool to set the state to NULL and wait with deleting the pipeline until the state is changed.
This fixes blocking the main thread when switching Spotify songs.
2024-08-10 18:22:56 +02:00
Jonas Kvinge
8c8acbb546
GstEnginePipeline: Rename variables
2024-08-09 19:29:12 +02:00
Jonas Kvinge
fe30f27af3
GstEngine: Simplify use of State
2024-08-09 19:26:15 +02:00
Jonas Kvinge
819463a865
Use anonymous namespace for constants
2024-08-07 00:52:58 +02:00
Jonas Kvinge
17e88bb97d
Add const
2024-08-02 23:35:52 +02:00
Jonas Kvinge
d3dd26c596
GstEnginePipeline: Set Spotify bitrate to 320
2024-08-01 23:22:19 +02:00
Jonas Kvinge
5f540a4c08
Add Spotify support
2024-06-13 17:09:06 +02:00
Jonas Kvinge
2f546f214d
Replace QLatin1String with QStringLiteral
2024-06-12 23:51:09 +02:00
Jonas Kvinge
5451c110b1
Replace QStringLiteral with QLatin1String
2024-06-12 20:30:36 +02:00
Jonas Kvinge
c92a1b516c
GstEngine: Fix swapped media_url / stream_url
2024-06-12 18:52:53 +02:00
Jonas Kvinge
b233600b8c
Remove useless else
2024-06-12 17:38:58 +02:00
Jonas Kvinge
b89c200076
Replace QStringLiteral with QLatin1String
2024-06-12 02:13:27 +02:00
Guzpido
fd81036909
GstEnginePipeline: Divide samples and format by channels for buffer duration
2024-06-09 15:56:29 +02:00
Jonas Kvinge
e357ba0125
GstEngine: Check individual classes when parsing outputs
2024-06-04 19:43:54 +02:00
Jonas Kvinge
8a27c6a52f
GstEnginePipeline: Use playbin3 with GStreamer 1.24 and higher
...
playbin3 is buggy with GStreamer 1.22, for some reason the bug is only reproducible on Gnome.
https://forum.strawberrymusicplayer.org/topic/1506/buffering-forever/23
2024-06-02 12:09:38 +02:00
Jonas Kvinge
d7cc52bc99
EngineBase: Use fully qualified namespace in StateChanged
...
Makes sure the metatype matches with Qt 5:
QObject::connect: Cannot queue arguments of type 'State'
(Make sure 'State' is registered using qRegisterMetaType().)
Fixes #1446
2024-05-30 20:09:32 +02:00
Jonas Kvinge
426de61525
Add const and std::as_const
2024-04-23 17:15:42 +02:00
Jonas Kvinge
fb2300e2fa
EBUR128State: Add missing const reference
2024-04-23 16:54:22 +02:00
Jonas Kvinge
78096658e2
Chromaprinter: Remove useless cast
2024-04-23 02:18:08 +02:00
Jonas Kvinge
0c6872b352
Disable automatic conversions from 8-bit strings
2024-04-13 05:05:33 +02:00
Jonas Kvinge
58944993b8
Use QStringLiteral
2024-04-09 23:20:26 +02:00
Jonas Kvinge
d1042b276b
GstEnginePipeline: Set volume_set_ to false in ElementRemovedCallback
2024-03-24 19:44:47 +01:00
Jonas Kvinge
9bbffe150f
GstEnginePipeline: Add back volume sync for auto
...
We need to remove the volume sync when the element is deleted on "deep-element-removed", then re-add it on the next "deep-element-added" that isn't a fakesink.
Fixes #1123
2024-03-24 19:36:32 +01:00
Jonas Kvinge
f11afd4414
GstEnginePipeline: Add default to switch
2024-03-12 00:40:11 +01:00
Jonas Kvinge
4626a6f609
GstEnginePipeline: Use playbin3 with gstreamer >= 1.22
2024-03-08 18:52:22 +01:00
Jonas Kvinge
f84ce3f1d1
Add exclusive mode option for WASAPI
2024-02-20 01:08:00 +01:00
Jonas Kvinge
ff28e7c86e
Add ASIO device finder
2024-02-17 00:40:55 +01:00
Jonas Kvinge
a354f6bdc5
GstEnginePipeline: Set device-clsid
2024-02-16 21:38:33 +01:00
Jonas Kvinge
cb44c71733
DirectSoundDeviceFinder: Add waveformsink
2024-02-16 21:38:08 +01:00
Jonas Kvinge
6b1c14f875
GstEngine: Make sure asiosink is detected
2024-02-16 00:29:17 +01:00
Jonas Kvinge
7770aba877
GstEngine: Add pipewiresink
2024-02-14 18:46:23 +01:00
Jonas Kvinge
6bdd9ad4dd
GstEnginePipeline: Only hard-code playbin3 with gst 1.22
2024-02-11 23:52:22 +01:00
Jonas Kvinge
7c4e33b676
GstEngine: Treat all stream errors as non-fatal
...
Fixes #1347
2024-01-02 19:54:19 +01:00
Jonas Kvinge
54c42b276f
GstEnginePipeline: Increase thread priority
2023-11-26 13:12:03 +01:00
Jonas Kvinge
ac9fd9070f
GstEnginePipeline: Only set max size buffer if > 0
...
Fixes #1302
2023-11-12 22:04:31 +01:00
Jonas Kvinge
6348649bc6
GstEnginePipeline: Run QTimer::singleShot in main thread
...
Partial fix for #1302
2023-11-12 21:57:59 +01:00
Jonas Kvinge
9211b6f0c0
GstStartup: Remove macOS libsoup workarounds
2023-10-21 03:05:04 +02:00
Jonas Kvinge
bf52afa21d
GstStartup: Add back LIBSOUP3_LIBRARY_PATH
2023-10-15 07:46:49 +02:00
Jonas Kvinge
1a66eaf7bf
GstStartup: Refactor environment code
2023-10-14 03:29:54 +02:00
Jonas Kvinge
99a5aee8b3
GstEnginePipeline: Change debug logging for active/inactive
2023-10-13 23:38:19 +02:00