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? 




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


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


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.