Generalize wave file parser to allow optional chunks
Generalize wave file parser to allow optional chunks

The parser of wave files did not expect any of the optional chunks to
occur in the file before the data chunk. This change discards all chunks
after the format chunk, until the data chunk is reached.

Task-number: QTMOBILITY-788
Reviewed-by: Andrew Den-Exter

tmcguire/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,kaltsi/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,kaltsi/qt-mobility,qtproject/qt-mobility,enthought/qt-mobility,KDE/android-qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility