Copy data from QIODevice::writeData to another array using memcpy.
Solved
Mobile and Embedded
-
Hello,
I sample audio using QAudioInput to my MFCCPerformer witch inherited from QIODevice. I have overided the writeData method. There I am copying the data to merge array witch is used for 50% audio frame overlap. I think my modulo logic is ok but program everytime fails on segmentation fault... can be writeData called during the previous writeData copying data - how I can make them wait?Here is my code on github.
Thanks for help.