Hi Anast,
are you able to single step though the code using emancs?
Once you have a visual gdb debugger, you could probably identify why you
test is not failing.
I use Eclipse, we have some hints in our Wiki to make it work nice:
www.mixxx.org/wiki/doku.php/eclipse
There is also an emacs+ plugin for eclipse, which enables some emacs stuff.
Qt Creator or KDevelop seams also a reasonable choice.
http://www.mixxx.org/wiki/doku.php/developer_tools#using_ides
---
The Mixxx Engine is processed via a real time task, driven by the sound
card crystal.
It is processed in regular intervals, depending on the buffer size set in
the hardware preferences.
During the unittest, we have no real soundcard, so you need to call the
engine manually, to process
the changed control objects.
Kind regards,
Daniel
2017-03-23 12:26 GMT+01:00 Anast Gramm <anastasis.gra...@gmail.com>:
> On Thu, Mar 23, 2017 at 09:37:24AM +0100, Daniel Schürmann wrote:
> > Hi Anast,
> >
> > I am not sure, but probably you need an additional
> > ProcessBuffer();
> > after you set play.
>
> I'll try it when I get the chance. I still don't get what ProcessBuffer()
> actually does, even after reading the code! Something about a cycle of the
> engine
> as Be said of IRC
>
> > Are you able to debug though the Mixxx source?
> > Which IDE do you use on which OS?
>
> I have Arch Linux, and I am using emacs as an editor with packages
> to make up for the smart IDE behavior. Sadly I've not been able to
> configure
> autocomplete yet, because I have a problem with clang compilation (whose
> output
> is fed in rtags to generate the completion source)
>
> Besides those things I have read a bit of the engine code that is around
> the bug
> I am trying to fix, and although I don't have a solid understanding of how
> things work, I have a general idea.
>
> > By the way: If you like to discuss source code, it is straight forward to
> > issue a GitHub pull request.
> > You can just write into the description that this is experimental.
> > GitHub has some nice facilities to discuss code.
>
> Ok, I'll do that! I thought that was the mailing list's purpose.
>
> ---
>
> Grammenos Anastasis
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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