Fix audio packets wrapping

* Add return wrapping status enum :
    * success,
    * error,
    * waiting for data.
* Feed the wrapper with data when needed to complete the writing.
* Fix the audio output frame size problem when transcoding.
local var