Hi I'v been working on this (Bug #971429
<https://bugs.launchpad.net/mixxx/+bug/971429>) and have implemented almost
every aspect of the requirement . I'm facing one bug which I have not been
able to solve yet. I'm totally new to QT .
My implementation checks for the number of tracks remaining in the autoDJ
play list and as soon as it goes lower than a particular number (selected
through the preference) it emits a requestTracks signal which in turn calls
the slotAddRandomTrack.

The signal is emitted here
<https://github.com/metastableBarrett/mixxx/blob/b971429_addRand/src/library/autodj/autodjprocessor.cpp#L520>
and received here
<https://github.com/metastableBarrett/mixxx/blob/b971429_addRand/src/library/autodj/autodjfeature.cpp#L123>
which calls the slotAddRandom() here
<https://github.com/metastableBarrett/mixxx/blob/b971429_addRand/src/library/autodj/autodjfeature.cpp#L369>

My bug is that even though i'v only emitted the signal once from
autoDjProcessor.cpp, the slotAddRandomTrack() is being called thrice in
autoDJFeature.cpp. With the qDebug() messages I print out it seems that the
signal is in fact being emitted thrice with the same arguments. I'm not
sure what is happing. Any help is appreciated.

(please ignore the comments in the code)


-- 
DKdennis
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
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

Reply via email to