0
zhen8838

Orange Pi H5 Bluetooth headset aplay sounds lagging

Recommended Posts

My Development board is Orange Pi zero  plus2 H5.

My bluetooth already in work,but I try to play a .wav for test.this circumstance occurs.

This is my test wav file: 1045.wav

I use :

aplay 1045.wav
Playing WAVE '1045.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

then I record the sounds as mypaly.mp3.

 

I guess this problem is due to uart Baud rate 115200 is not high enough . How can i fix this? 

 

1045.wav

mypaly.mp3

Share this post


Link to post
Share on other sites

I solved this problem,I refer to the answer to this question.

This is indeed caused by the serial port baud rate being too low.

 

I modified /etc/init.d/ap6212-bluetooth 

hciattach /dev/$PORT bcm43xx 115200 flow bdaddr $MAC_OPTIONS

to


hciattach /dev/$PORT bcm43xx 1500000 flow bdaddr $MAC_OPTIONS

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0