2014-01-09 6 views
0

돌비 오디오 API를 사용할 때 다음과 같은 오류가 발생합니다. 나는 의도적으로 * .mp3 파일을 빠르게 재생하기 위해 루프를 사용하고 있으며 다음과 같은 오류가 발생합니다.돌비 오디오 API를 사용할 때의 오류

01-03 20 : 42 : 04.109 : E/AndroidRuntime (2913) FATAL EXCEPTION : DsClientHandlerThread 01-03 20 : 42 : 04.109 : E/AndroidRuntime (2913) java.lang.RuntimeException가 : 인 java.lang .RuntimeException : 내부 DSClient.setDsOn (true) 실패했습니다! 01-03 20 : 42 : 04.109은 : E는/AndroidRuntime (2913) com.dolby.dap.DsClientManager.setDolbySurroundEnabled (DsClientManager.java:525)에

I는 soundpool 또는 클래스 MediaPlayer를 통해 * .MP3를 넣으면 오류가 표시됩니다.

재미있는 점은 * .ogg 또는 * .wav가 좋습니다. * .mp3 파일 형식으로 고립 된 모양

+0

사용중인 코드 중 일부를 포함시킬 수 있습니까? –

+0

mp3 파일을로드하고 목적에 맞게 반복하여 예를 들어 개별적으로 재생합니다. for (int x = 1; x <29; x ++) { silentkeychannel [x] = mSoundPool.play (silentkeybufferid [x], 0,0,1,0,1);} 이것은 Android 장치가 사운드를로드 한 후 최종 사용자가 다른 사운드를 재생하려고 할 때 지연이 발생할 수 있기 때문에 수행됩니다. – angjc3

+0

* .wav 역시 좋지 않습니다. * .ogg 만 Dolby의 영향을받지 않습니다. 돌비가 출시 노트를 확인하십시오 : http://developer.dolby.com/tools-tech.aspx (v1.1.1.0). 현재 우리는 모든 MP3 파일을 ogg 파일로 변환하여 Kindle Fire 장치에서 Dolby 처리를 건너 뜁니다. – morph85

답변

0

현재 Dolby API v1.1.1.0에서이 문제는 알려진 문제입니다. API를 체크 아웃하고 릴리스 노트를 읽어 보시기 바랍니다 :

6. Revision History 
    Version 1.1.1.0 
    Known issues: 
    • On Kindle Fire HD/HDX devices, in an application leveraging the Dolby Audio 
     Plug-in, multiple calls to the Android™ MediaPlayer start/pause/stop APIs in 
     quick succession may result in the Dolby Audio Plug-in state getting out of 
     sync with the system-wide Dolby audio processing state. Subsequent calls to 
     the Dolby Audio Plug-in will rectify this state sync issue. 
    • Using the MediaPlayer interface for audio playback may exhibit this issue, 
     with the exception of Ogg Vorbis streams. For gaming audio use cases, 
     playback using SoundPool or writing raw (PCM) audio directly to an AudioTrack 
     does not exhibit this issue. You can work around this issue by checking the 
     current Dolby audio processing state using isEnabled() to ensure the Dolby 
     Audio Plug-in has the desired state after the audio playback has started. 

이 문제는 향후 릴리스에서 수리 할 수 ​​있습니다.

관련 문제