Soundpool error: [AudioTrack] AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 4, track 44100 Hz, o

AnthonyHarrison.2598AnthonyHarrison.2598 USMember ✭✭
edited November 2019 in Xamarin.Android

I have an Android app with three SoundPool sounds registered, the sounds are all 44.1k (I've checked this using external tools) and these play on my Samsung S7, however on my S5 they don't play and I read in the output:

[AudioTrack] AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 4, track 44100 Hz, output 48000 Hz

How do I set the Soundpool up so that it will expect 44.1k sounds, instead of 48k sounds?

Or do I have to resample my sounds each time, and match them to the present device?

I'm using 44.1k mp3 files which I've loaded into Resource.Raw

Footnote: I converted the files to 48k using an online tool, verified that using another tool, and curiously, the sounds don't play ...

To be sure, I call the following:

sound.Play(_soundIdArrival, 1, 1, 1, 0, 1f);

but don't hear anything

and not are there any errors on the output!

Sign In or Register to comment.