The following pages link to How to find out the mode of an AMR file to set the frame length properly: