Clear BPM displays on eject

Bug #791131 reported by jus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Low
Roman Botnari

Bug Description

1. Load and play a track in player 2
2. Stop playback at a point with high volume
3. Instantly eject track using the EJECT button
4. Notice how the VUmeter is not reset

I first noticed this when using the AutoDJ branch lp:~daschuer/mixxx/autodj (the track load behavior is different there, so the issue is always visible), but this bug is also with current trunk

Tags: easy

Related branches

jus (jus)
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Low
summary: - Channel volume meter for left channel does not reset when eject track
+ Channel volume meter for Player 2 is not reset when the track is ejected
Revision history for this message
jus (jus) wrote : Re: Channel volume meter for Player 2 is not reset when the track is ejected

This is not only with Player 2 as originally thought, but with all players (even samplers).
Tested with latest trunk.

summary: - Channel volume meter for Player 2 is not reset when the track is ejected
+ Channel volume meter is not reset when the track is ejected
Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: Channel volume meter is not reset when the track is ejected

EngineObjects need to get an onTrackLoaded/Unloaded callback so that we can clear these indicators.

Revision history for this message
jus (jus) wrote :

The decks BPM display will not reset on eject as well.

RJ Skerry-Ryan (rryan)
summary: - Channel volume meter is not reset when the track is ejected
+ Channel volume meter and BPM displays are on eject
Changed in mixxx:
milestone: none → 1.10.1
tags: added: easy
Changed in mixxx:
assignee: nobody → Roman Botnari (rroman-botnari)
Revision history for this message
Roman Botnari (rroman-botnari) wrote : Re: Channel volume meter and BPM displays are on eject

I managed to reset the bpm by updating(reseting) the visualBpm in enginebuffer.cpp in the ejectTrack() method. It works on both decks. Is it the right method of doing this or do you think i should try to solve this differently?

Changed in mixxx:
status: Confirmed → In Progress
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :

Hey Roman,

Thanks for working on this. Your suggestion worked fine and I've committed it to lp:mixxx/1.10.

The VU-meter side of this is tricky since they are separate from EngineBuffer. I think that I won't fix that now and in the enginecontrol-refactor branch I will refactor things so that eject is handled by BaseTrackPlayer/EngineDeck instead of EngineBuffer. That way all EngineObjects in a given channel can receive load/unload callbacks.

summary: - Channel volume meter and BPM displays are on eject
+ Clear BPM displays on eject
Changed in mixxx:
status: In Progress → Fix Committed
Revision history for this message
Roman Botnari (rroman-botnari) wrote : Re: [Bug 791131] Re: Channel volume meter and BPM displays are on eject

Hi,
if you can explain to me how that part functions a litte bit more, maybe i
can do it.

Thank you

On 4 May 2012 05:34, RJ Ryan <email address hidden> wrote:

> Hey Roman,
>
> Thanks for working on this. Your suggestion worked fine and I've
> committed it to lp:mixxx/1.10.
>
> The VU-meter side of this is tricky since they are separate from
> EngineBuffer. I think that I won't fix that now and in the
> enginecontrol-refactor branch I will refactor things so that eject is
> handled by BaseTrackPlayer/EngineDeck instead of EngineBuffer. That way
> all EngineObjects in a given channel can receive load/unload callbacks.
>
> ** Summary changed:
>
> - Channel volume meter and BPM displays are on eject
> + Clear BPM displays on eject
>
> ** Changed in: mixxx
> Status: In Progress => Fix Committed
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/791131
>
> Title:
> Clear BPM displays on eject
>
> Status in Mixxx:
> Fix Committed
>
> Bug description:
> 1. Load and play a track in player 2
> 2. Stop playback at a point with high volume
> 3. Instantly eject track using the EJECT button
> 4. Notice how the VUmeter is not reset
>
> I first noticed this when using the AutoDJ branch
> lp:~daschuer/mixxx/autodj (the track load behavior is different there,
> so the issue is always visible), but this bug is also with current
> trunk
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/791131/+subscriptions
>

--
Roman Botnari

blog: http://fwddub.net/ <http://fwddub.blogspot.com/>
T: +393403852484

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5916

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.