diff options
author | mio <[email protected]> | 2024-10-27 11:26:22 +1000 |
---|---|---|
committer | mio <[email protected]> | 2024-10-27 20:24:51 +1000 |
commit | ff2a5768dd4d199cb8bbbe2af4ea3fbb68a489f3 (patch) | |
tree | ac43561f394ed18780521cafc726510b3215ef4c /src/app/xineEngine.h | |
parent | a3ea0ee70fe8590a96df03dca43ca77f3f28791e (diff) | |
download | codeine-ff2a5768dd4d199cb8bbbe2af4ea3fbb68a489f3.tar.gz codeine-ff2a5768dd4d199cb8bbbe2af4ea3fbb68a489f3.zip |
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 <[email protected]>
Diffstat (limited to 'src/app/xineEngine.h')
-rw-r--r-- | src/app/xineEngine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/xineEngine.h b/src/app/xineEngine.h index 6f8170a..168080d 100644 --- a/src/app/xineEngine.h +++ b/src/app/xineEngine.h @@ -104,9 +104,10 @@ namespace Codeine xine_event_queue_t *m_eventQueue; xine_video_port_t *m_videoPort; xine_audio_port_t *m_audioPort; - xine_post_t *m_scope; + xine_post_t *m_post; xine_t *m_xine; + Engine::Scope m_scope; int64_t m_current_vpts; KURL m_url; |