OS X Yosemite audio recording
We've got an issue with Qt 5.4 running on Mac OS X 10.10.2, whereby recording a video/audio using QMediaRecorder generates files with no audio, but only when the recording duration exceeds ~10 seconds.
The same project works as expected on OS X Lion 10.7.5.
Has anybody else observed this behaviour? It can be reproduced by building and running the example camera application that is included with Qt 5.4.
I'm not sure if it's a bug introduced by Apple, or something to do with a comment in coreaudioinput.mm at line 635:
//BUG: numberOfFrames gets ignored after this point
The issue seems like it might be related to buffers on audio capture, as I also see the following in debug output (but this wasn't present in earlier OS X builds):
[14:47:55.119] ParseSoundMediaInfoAtom signalled err=-12848 (kFigFormatReaderError_ParsingFailure) (V0 sound description in file with QT ftyp and ISO file extension) at /SourceCache/CoreMedia/CoreMedia-1562.107/Prototypes/FormatHandlers/Movie/MovieAtomParsing.c line 2409
<<< FFR_Movie >>> ParseTrackAtom: Omitting a track that encountered error -12848 during atom parsing