문제

I have a BB app that records and sends audio to a web service and is stored as a BLOB on my DB. I would like to know how I can play this audio from another source that isn't the BB player. I am able to save the audio data as a byte array on the BB and then extract it and play it without problem but i can't manage to do the same when I try to play it using Java Sound for instance. Has anyone tried this?

도움이 되었습니까?

해결책

BlackBerry records files in AMR format. Java Sound cannot play them back, you need a codec for that. Try, for example, http://sourceforge.net/projects/jspeex/, if you want to stay pure Java.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top