Commit Graph

19 Commits (55b425fe49ce8f28e0e7aac719e01bd42494b2fe)

Author SHA1 Message Date
mio 55b425fe49
Update the xineScope to remove global variables.
This patch updates xineScope.c to better align with Amarok's code. As a
result, the analyzer is more accurate.  For instance, when playing an
audio file and there is a silent spot, the blocks will correctly "drop"
to the bottom, leaving an empty analyzer.  The previous behaviour would
leave some blocks "stuck" in their position

See: TDE/codeine#23
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit ff2a5768dd)
8 months ago
mio 4fe9282a9b
Fix the audio analyzer
Most of the code was already borrowed from Amarok, but wasn't properly
finished. This just updates the code to more closely match what is
currently in TDE's Amarok.

The Analyzer still sits in the statusBar(), which is cool, but can have
some delays when watching a video (the video itself is unaffected).

See: TDE/codeine#23
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit a3ea0ee70f)
8 months ago
mio 39912d87d5
Fix channel selection menus disappearing
When adding/removing an action to/from the toolbar, the aspect ratio,
audio channel, and subtitle channel menus would disappear from the
parent settings menu.

My understanding is that this happened because nothing was keeping those
menus present (plugged?) when other actions were plugged/unplugged.

This changes it so "Aspect Ratio", "Subtitles", and "Audio Channels"
each are a TDESelectAction that is dynamically filled with items. This
way, each popup menu is still present after other actions being
plugged/unplugged.

Resolves: TDE/codeine#24
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit f460840a5e)
9 months ago
mio 0dbeeeb9f2
Address -Wall warnings
VideoWindow::ExposeEvent wasn't being used correctly; it should be a
TQCustomEvent (although, the 3000 type is already being used for
forwarding XINE_PROGRESS_EVENT).

While the pts_per_smpls part never seemed to be encountered, it would
have resulted in a floating point exception as it's always 0.  Commented
out to leave a hint as to what the code should be doing.

Resolves: TDE/codeine#2
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit 9ef39acd5d)
9 months ago
mio f41da351c6
Fix filter list when opening a file
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit c0311bdfc3)
10 months ago
mio bca2a1a170
Use nullptr instead of NULL/0 pointer in C++ files
See: https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/73
Signed-off-by: mio <stigma@disroot.org>
(cherry picked from commit ed55bf0726)
11 months ago
Michele Calgaro b023e03979
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1ca6231ff7)
2 years ago
Michele Calgaro 58bbed0510
xine engine: make volume control logarithmic for versions of xine < 1.2.13. For xine versions >= 1.2.13, libxine already makes the volume logarithmic. This relates to TDE/tdemultimedia#40.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b5977d5e67)
2 years ago
Michele Calgaro d1d095a264
Fix volume slider functionality and visualization
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1884d0e5a2)
2 years ago
Michele Calgaro 304d3a226c
Fixed xine scope plugin functionality with xine 1.2.10.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 4ca91724d7
Drop the use of the HAVE_XINE_H definition.
Add include <xine.h> to the appropriate headers.
Clean up the arrangement of include files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro b51af279c4
Fixed FTBFS with xine 1.2.10. The use of the xine scope plugin is currently
disabled when xine >= 1.2.10 is detected.

Additional info:
The xine scope plugin is statically linked and therefore written by
accessing internal xine data that are no longer publicly available from
xine 1.2.10.
To add back the scope plugin functionality, the plugin will have to be
converted into a dynamically linked one and further work done to fix the
logic of the plugin itself.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
gregory guy 088b37ef3c
Get rid of some deprecated.
given warning: "xine_mrl_reference_data_t XINE_DEPRECATED"

Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 0b2288da16
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 88aa431c9d
Add support for xinelib-1.2, patch is from anixx@opensuse.org
taken from the kde3 OpenSuse repo, package kde3-codeine-1.0.1-52.73.src.rpm
http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Tumbleweed/src

Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 12b478cefd
Conversion KDE -> TDE environment.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
gregory guy 2c9bc9b806
Conversion qt3 -> tqt3
Signed-off-by: gregory guy <gregory-tde@laposte.net>
5 years ago
Michele Calgaro 38eaf7209a
Applied patches from debian/patches.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro 5f44f7b187
Initial code import from debian snapshot
https://snapshot.debian.org/package/codeine/1.0.1-3.dfsg-3.1/

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago