Cross-platform speech transmission/decoding method for mobile phones
A language transmission and decoding method technology, which is applied in the field of mobile phone platform file formats, can solve the problems of inconvenient network transmission of audio files, affecting response speed, poor scalability, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] Such as figure 1 As shown, this embodiment is a mobile phone cross-platform language transmission decoding method, which solves the task that the client of the ios platform receives the amr format audio file from the Andorid client and plays it back.
[0016] The ios client receives the amr format audio file of the Andorid client, and converts the amr format audio file into an audio file in the wav format, and then replays the wav format audio file through the player on the ios platform, including the following steps:
[0017] A. Read the standard frame in the amr format audio file, and calculate the size of the standard frame according to the standard frame header;
[0018] B. Create and initialize an audio file in wave format;
[0019] C. Read other frames in the amr format audio file;
[0020] D. Judging whether these frames are consistent with the standard frame size, if not, it is a bad frame, and then discarded, otherwise turn to step E;
[0021] E, read the au...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 