Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample_rate, value:48000 audio files are not play in android #73

Open
Zuhaib009 opened this issue Jun 8, 2021 · 5 comments
Open

sample_rate, value:48000 audio files are not play in android #73

Zuhaib009 opened this issue Jun 8, 2021 · 5 comments

Comments

@Zuhaib009
Copy link

Zuhaib009 commented Jun 8, 2021

D/voice_scence_discern(25716): add name:sample_rate, value:48000
V/voice_scence_discern(25716): add name:sample_rate value:48000 list:0x7d730d64c0
D/voice_scence_discern(25716): add name:channels, value:2
V/voice_scence_discern(25716): add name:channels value:2 list:0x7d730d64c0
D/voice_scence_discern(25716): get scence process pid:25716,
V/voice_scence_discern(25716): this process not in init apk. apk_list:0x7d28afe980

these sounds are not playing in some android devices using soundpool please help me

@Zuhaib009
Copy link
Author

when i play then it start distortion

@ukasz123
Copy link
Owner

ukasz123 commented Jun 9, 2021

What sounds? What devices are affected?

@Zuhaib009
Copy link
Author

i use this plugin for drumpad app which contains short sounds. in iphone or ipad it work fine. but in android when i play sound which have sample per bits 24 are not able to play. and start distortion sound
Screenshot 2021-06-12 at 7 42 23 PM

@Zuhaib009
Copy link
Author

all android devices have this issue

@ukasz123
Copy link
Owner

Well, I can confirm some of Android devices have this issue. On my older device the problem occurs.

According to the Android audio support documentation PCM/WAVE files with 24 bits per sample are not supported.
@Zuhaib009, can you check if changing the sample rate to 44.1 kHz and 16 bits per sample would fix your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants