MP4AddAudioTrack - Add an audio track
u_int8_t audioType = MP4_MPEG4_AUDIO_TYPE
hFile Specifies the mp4 file to which the operation applies.
Specifies the time scale in ticks per second of the track.
Specifies a fixed sample duration for all track samples. Caveat:
The value should be in track time scale units
Specifies the audio encoding type. See MP4GetTrackAudioType()
for known values.
Upon success, the track id of the new track. Upon an error,
MP4AddAudioTrack adds an audio track to the mp4 file. MP4WriteSample()
can then be used to add the desired audio samples.
It is recommended that the time scale be set to the sampling frequency
(e.g. 44100 Hz) of the audio so as to preserve the timing information
If the audio encoding uses a fixed duration for each sample that should
be specified here. If not then the value MP4_INVALID_SAMPLE_DURATION
should be given for the sampleDuration argument.