Jump to content

Orange Pi H5 Bluetooth headset aplay sounds lagging


zhen8838

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

Link to comment
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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines