PCM to G711 Fast Conversions
- NativeG711Codec: Implemented by calling C code. (escrichov/G711)
- DartG711Codec: Implemented using pure Dart code.
The time to process 1MB PCM is as follows.
I/flutter (17001): native.preload: 0:00:00.001007
I/flutter (17001): dart .preload: 0:00:00.003305
I/flutter (17001): native.encode: 0:00:00.001478
I/flutter (17001): dart .encode: 0:00:00.017759
I/flutter (17001): native.decode: 0:00:00.001663
I/flutter (17001): dart .decode: 0:00:00.010298