Gets the size of the buffer to allocate. When using encoder is callback mode, it's unused.
Gets an audio frame from the source.