ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

cm-13.0: FMRadio #52

Closed ngoquang2708 closed 7 years ago

ngoquang2708 commented 8 years ago

I've patched hardware/libhardware, system/bt, packages/apps/Bluetooth and packages/apps/FMRadio based on @mickybart repos. Now I can loop though radio stations around me by observe the freq indicator. But some how the device cannot route the audio to speaker or to headset. In this initAudioRecordSink method, it failed to find the device for MediaRecorder.AudioSource.RADIO_TUNER source.

ngoquang2708 commented 8 years ago

@mickybart Do you have any ideas?

diepquynh commented 8 years ago

@ngoquang2708 Bro, should we use BRCM FM radio source from FFOS git?

ngoquang2708 commented 8 years ago

Where is it?

diepquynh commented 8 years ago

https://git.mozilla.org/?p=external/sprd-aosp/vendor/sprd/partner.git;a=tree;f=brcm/libfm-brcm;h=6d6daa39e1cc38865d9d10348131bc8a7679b6ad;hb=refs/heads/sprdroid4.4

diepquynh commented 8 years ago

We have other radio sources too, like trout. I've just confused which one should we use There also have FM package source, which is nice

ngoquang2708 commented 8 years ago

Thanks.

ngoquang2708 commented 7 years ago

No longer supported.