Skip to content

Commit

Permalink
add faq file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin He committed Sep 11, 2015
1 parent 06867fd commit 5f89c2d
Show file tree
Hide file tree
Showing 5 changed files with 231 additions and 292 deletions.
2 changes: 2 additions & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Encode Input Length
The second parameter of AmrEncoder.encode accept an array, it's recommended to 160 in short, or 320 in byte.
2 changes: 2 additions & 0 deletions FAQ_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## 编码输入长度
AmrEncoder.encode这个函数第二个参数,接受一个数组,如果是short[],建议是长度是160;如果是byte[],建议长度是320
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ If you are interested in this solution, please refer to [demo](demo/)


## FAQ
1. The second parameter of AmrEncoder.encode accept an array, it's recommended to 160 in short, or 320 in byte.
Please edit the FAQ files to help others, thanks! (赠人玫瑰,手留余香)

[FAQ_CN](FAQ_CN.md)

[FAQ](FAQ.md)

[1]: https://github.com/android/platform_external_opencore
[2]: http://en.wikipedia.org/wiki/Adaptive_Multi-Rate_audio_codec
Expand Down
3 changes: 3 additions & 0 deletions demo/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5f89c2d

Please sign in to comment.