<div>I need to trim down size/duration  of an audio file, for example I have a 5 MB audio file and I want to create an audio file having only 1 MB of size or 60 seconds of duration.</div>
<div>So to do this I need to first decode original audio file completely/partially and then encode the raw samples again until it reaches 1MB/60 sec.</div>
<div>Is there any other optimized way ?  For example playing with audio headers. <br clear="all"></div>
<div> </div>
<div> </div>
<div><br>-- <br>Regards,<br><br>Sudarshan Bisht<br></div>