I'm implementing a MediaPlayer
. Everything goes smoothly BUT each time I encounter a new error it can be very hard to find its meaning. The official doc is lacking in that area, so a website like stack overflow is the only solution and this time even this does not work (error (1;-107) btw).
我正在实施一个MediaPlayer。一切顺利但每次遇到新的错误都很难找到它的含义。官方文档在该领域缺乏,所以像堆栈溢出的网站是唯一的解决方案,这次即使这不起作用(错误(1; -107)顺便说一句)。
So is there a centralized point where I can find the list of all the MediaPlayer error codes ? I can't find it in the official documentation, and it would be tremendously helpful to quickly diagnose new errors.
那么是否有一个集中点,我可以找到所有MediaPlayer错误代码的列表?我在官方文档中找不到它,快速诊断新错误会非常有帮助。
3 个解决方案
#1
8
Just go through the pvmf return codes from the link below,
只需通过以下链接查看pvmf返回代码,
And the complete explanation of each error from another link below
并从下面的另一个链接完整解释每个错误
[Broken]http://sourceforge.net/p/android-x86/korg_external_opencore/ci/master/tree/doc/pvmf_return_codes.pdf
#2
12
There are several places where the errors are defined.
有几个地方定义了错误。
- In theory, everything should be defined in MediaPlayer.java
- but some codes are just defined in C, and not accessible in the Java land, see MediaErrors.h
- and also pvmf_return_codes.h
理论上,一切都应该在MediaPlayer.java中定义
但有些代码只是在C中定义,而在Java领域无法访问,请参阅MediaErrors.h
还有pvmf_return_codes.h
#3
1
Your can find them in the source code here. And compare your error number with every constants given there
您可以在此源代码中找到它们。并将您的错误编号与给定的每个常数进行比较
#1
8
Just go through the pvmf return codes from the link below,
只需通过以下链接查看pvmf返回代码,
And the complete explanation of each error from another link below
并从下面的另一个链接完整解释每个错误
[Broken]http://sourceforge.net/p/android-x86/korg_external_opencore/ci/master/tree/doc/pvmf_return_codes.pdf
#2
12
There are several places where the errors are defined.
有几个地方定义了错误。
- In theory, everything should be defined in MediaPlayer.java
- but some codes are just defined in C, and not accessible in the Java land, see MediaErrors.h
- and also pvmf_return_codes.h
理论上,一切都应该在MediaPlayer.java中定义
但有些代码只是在C中定义,而在Java领域无法访问,请参阅MediaErrors.h
还有pvmf_return_codes.h
#3
1
Your can find them in the source code here. And compare your error number with every constants given there
您可以在此源代码中找到它们。并将您的错误编号与给定的每个常数进行比较