Download

USoundWaveProcedural crush on android

I try to do the voice streaming, when I do this


	

	UAudioComponent* VoiceComp;
	AAmbientSound * soundSource;
	USoundWaveProcedural* SoundStreaming;

        SoundStreaming = NewObject<USoundWaveProcedural>();
	SoundStreaming->SampleRate = 16000;
	SoundStreaming->NumChannels = 1;
	SoundStreaming->Duration = INDEFINITELY_LOOPING_DURATION;
	SoundStreaming->SoundGroup = SOUNDGROUP_Voice;
	SoundStreaming->bLooping = false;
	
	VoiceComp = Cast<UAudioComponent>(soundSource->GetComponents()[0]);
	VoiceComp->Sound = SoundStreaming;


Whenever I try to do VoiceComp->Play() I get the following message.

D/UE4 (27150): [2016.04.14-19.06.24:643] 0]LogAndroidAudio:Warning: FAILED OPENSL BUFFER Enqueue SL_PlayerBufferQueue 0x2 params( 0x0, 0)
D/UE4 (27150): [2016.04.14-19.06.24:643] 0]LogAndroidAudio:Warning: Setup failed SoundWaveProcedural_0
D/UE4 (27150): [2016.04.14-19.06.24:645] 0]LogAndroidAudio:Warning: FAILED OPENSL BUFFER Enqueue SL_PlayerBufferQueue (Requeing)

Thanks