0

ここのガイドに従っていますhttps://developer.sony.com/develop/wearables/smarteyeglass-sdk/guides/use-bluetooth-for-audio-io/

コードを使用してSmarteyeglassesで生のmp3を再生すると

SoundPool mSoundPool  = new SoundPool(5, AudioManager.MODE_IN_CALL, 0);
// Use the play() method to request for playback of an audio file.
int soundId = mSoundPool.load(mContext, R.raw.cannotregisterreceiver, 1);
mSoundPool.setOnLoadCompleteListener(new OnLoadCompleteListener() {

        @Override
        public void onLoadComplete(SoundPool soundPool, int sampleId, int status) {
            Log.d(TAG, "Playing sound");
            int returnValue = soundPool.play(sampleId, 1, 1, 0, 0, 1);              
            Log.d(TAG, "Playing sound " + returnValue);
        }
});

という警告が表示AUDIO_OUTPUT_FLAG_FAST denied by clientされ、音声が再生されません

理由はありますか?

4

0 に答える 0