Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

A2DP Bluetooth music FIX CM10 Roms

OP racky29

16th March 2014, 05:19 PM   |  #1  
racky29's Avatar
OP Senior Member
Flag west midlands
Thanks Meter: 33
 
111 posts
Join Date:Joined: Nov 2012
More
I have found a fix for people having problems with A2DP Bluetooth music on CM10 Roms
I installed the Honamiz II beta recently and the A2DP Bluetooth music wasn't working

like with most of the CM10 roms for Desire C
the Bluetooth calls work but the music just plays on the phone speaker

so I had a look around and found this fix that worked for me straight away (on the Honamiz Rom Anyway).

link to page I found
http://forum.xda-developers.com/show....php?t=1887297

A2DP fix for media CM10

Looks like sample rate is missing in the at a2dp line in the "audio_policy.conf" file
File location:
/system/etc/audio_policy.conf

the line "sampling_rates 48000"
the number 44100 needs to be added before the 48000 with this "|" symbol
and it should look like this

"sampling_rates 44100|48000".

After changing the sampling rate save and reboot your device in order for it to take effect.

Edit file with ES-explorer or Root Explorer text editors.
and make sure you have system set to RW

the section your looking for is near the bottom section of the file
and looks like this

Code:
a2dp {
  outputs {
    primary {
     sampling_rates 48000


Just add the 44100 like below and save file

a2dp {
  outputs {
    primary {
     sampling_rates 44100|48000

this worked for me and may work on other Roms
NOTE: just set sampling_rates 44100 works the same on desire c cm10
and a flashable zip made by rudi_j7 here
http://d-h.st/6Zp
. good luck

thanks to the post by KRZ-2pa
Last edited by racky29; 7th April 2014 at 12:05 AM. Reason: rudi flashable zip
The Following 5 Users Say Thank You to racky29 For This Useful Post: [ View ]
16th March 2014, 07:36 PM   |  #2  
rudi_j7's Avatar
Recognized Contributor
Flag Mumbai
Thanks Meter: 678
 
1,252 posts
Join Date:Joined: Dec 2013
Donate to Me
More
I'll try it out. Hang on.


EDIT: It works!!! nice!
Sent from my HTC Desire C using XDA Premium 4 mobile app
Last edited by rudi_j7; 16th March 2014 at 08:03 PM.
The Following 2 Users Say Thank You to rudi_j7 For This Useful Post: [ View ]
17th March 2014, 07:58 PM   |  #3  
racky29's Avatar
OP Senior Member
Flag west midlands
Thanks Meter: 33
 
111 posts
Join Date:Joined: Nov 2012
More
Such s simple fix. This bluetooth problem was bugging me for ages I had to go back to stock ics for a while because I bought s new car stereo with bluetooth . So im happy now it seems to work fairly good

glad it works for you
The Following User Says Thank You to racky29 For This Useful Post: [ View ]
18th March 2014, 05:50 AM   |  #4  
rudi_j7's Avatar
Recognized Contributor
Flag Mumbai
Thanks Meter: 678
 
1,252 posts
Join Date:Joined: Dec 2013
Donate to Me
More
Same here ... Just couldn't figure out what was wrong!

Sent from my HTC Desire C using XDA Premium 4 mobile app
19th March 2014, 03:16 PM   |  #5  
rudi_j7's Avatar
Recognized Contributor
Flag Mumbai
Thanks Meter: 678
 
1,252 posts
Join Date:Joined: Dec 2013
Donate to Me
More
hey guys! I've made a flashable zip file of the fix. here: http://d-h.st/6Zp
The Following 3 Users Say Thank You to rudi_j7 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes