if (usbDevice instanceof MygicaT230C) {
/ hook fe: need to resync the slave fifo when signal locks. /
/ it need resync slave fifo when signal change from unlock to lock./
if (!hasLockStatus && resultStatus.contains(FE_HAS_LOCK)) {
((CxUsbDvbDevice)usbDevice).cxusb_streaming_ctrl(true); hasLockStatus = true; }
}
But i have found that with my T230 this patch is also need in DVBT mode.
Then i have modify like this:
if (usbDevice instanceof MygicaT230C || usbDevice instanceof MygicaT230) {
/ hook fe: need to resync the slave fifo when signal locks. /
/ it need resync slave fifo when signal change from unlock to lock./
if (!hasLockStatus && resultStatus.contains(FE_HAS_LOCK)) {
((CxUsbDvbDevice)usbDevice).cxusb_streaming_ctrl(true);
hasLockStatus = true;
}
}
Without this patch i can tune but i get no data ...
Hello First i want to tel you that this drivers it’s a really good job !!
One comment Line 421 in https://github.com/martinmarinov/AndroidDvbDriver/blob/master/drivers/src/main/java/info/martinmarinov/drivers/usb/silabs/Si2168.java
if (usbDevice instanceof MygicaT230C) { / hook fe: need to resync the slave fifo when signal locks. / / it need resync slave fifo when signal change from unlock to lock./ if (!hasLockStatus && resultStatus.contains(FE_HAS_LOCK)) { ((CxUsbDvbDevice)usbDevice).cxusb_streaming_ctrl(true); hasLockStatus = true; } }
But i have found that with my T230 this patch is also need in DVBT mode.
Then i have modify like this: if (usbDevice instanceof MygicaT230C || usbDevice instanceof MygicaT230) { / hook fe: need to resync the slave fifo when signal locks. / / it need resync slave fifo when signal change from unlock to lock./ if (!hasLockStatus && resultStatus.contains(FE_HAS_LOCK)) { ((CxUsbDvbDevice)usbDevice).cxusb_streaming_ctrl(true); hasLockStatus = true; } } Without this patch i can tune but i get no data ...
BR Olivier