Klaus Schmidinger schrieb:
VDR developer version 1.3.21 is now available at ...
- Now using twice the buffer reserve in cTransfer if the primary DVB
card is an unmodified version with only 2MB of SDRAM, to avoid audio stuttering when playing Dolby Digital over the DVB card (thanks to Christian Jacobsen and Chad Flynt for suggestions and experiments in that area).
As far as I see in transfer.c, you are using always twice the buffer:
#define FW_NEEDS_BUFFER_RESERVE_FOR_AC3 #ifdef FW_NEEDS_BUFFER_RESERVE_FOR_AC3 //XXX This is a very ugly hack to allow cDvbOsd to reduce the buffer //XXX requirements in cTransfer if it detects a 4MB full featured DVB card. bool DvbCardWith4MBofSDRAM = false; #endif
So DvbCardWith4MBofSDRAM is always false. Is there no way to detect if a 2 or 4 MB Card is used ? Also a define statement is a no-go for a distri.
----- Helmut Auer, helmut@helmutauer.de