Hi Peter,
I like your idea.
We have already a bug for this:
https://bugs.launchpad.net/mixxx/+bug/661917
So you should adopt this :-)
The implementation does not sound that hard.
just create a new class in something like this:
src/engine/crossfaderstart.cpp
In it, you can catch all existing a and needed Controlls by
ControlObjectSlave classes.
The new controls can be established there as bell by ControlPushbutton.
You may also make use of the PlayerInfo class.
A look into src/engine/ratecontrol.cpp will help as well.
To avoid probably long discussions at a finished implementation, you may
roughly outline your planes at the bug report first
Hope that helps,
Daniel
2014-07-17 7:47 GMT+02:00 Peter G. Marczis <marc...@demonkutya.com>:
> Hello developers !
> I would like to ask some help to start implementing my idea. I would like
> to add "crossfader start" to mixxx. The only problem that I'm not so
> familiar with the codebase, and I would be more than happy to gets some
> hints, where should I add this ?
>
> In my mind the next things should be done:
> - Extra interface towards the controllers, something like [ChannelN]
> enable_crossfader_start
> - Additional code for Deck's volume changing so it can trigger extra
> events - like autostart
> - Some setup possibility for enabling the feature and set the volume
> level in % where the deck should start
> - Extra button on the deck's gui, to enable / disable auto start.
>
> When its done I may do the same functionality with stop... so deck would
> stop playback when volume drops to given %.
>
> I think that this is not a huge task, but of course I'm not so familiar
> with the codebase...
>
> What do you think ? Would it be a cool feature ? Would it be too much work
> ?
> And feedback / advice / hint is warmly welcomed and properly thanked :D
>
> Thanks in advance !
> Peter.
>
>
>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Get Mixxx, the #1 Free MP3 DJ Mixing software Today
> http://mixxx.org
>
>
> Mixxx-devel mailing list
> Mixxx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel