version 1.12, 2001/04/25 15:31:08
|
version 1.13, 2001/05/15 12:40:20
|
Line 1084 void L64021Intr(struct cvdv_cards *card)
|
Line 1084 void L64021Intr(struct cvdv_cards *card)
|
vs = card->VideoESSize; |
vs = card->VideoESSize; |
if (vs > 0) vp = (100 * v) / vs; |
if (vs > 0) vp = (100 * v) / vs; |
else vp = 0; |
else vp = 0; |
if (vp > 40) { |
if (vp > 90) { |
MDEBUG(0,": Delayed Video Decoder start\n"); |
MDEBUG(0,": Delayed Video Decoder start\n"); |
card->startingV = 0; |
card->startingV = 0; |
DecoderStartDecode(card); |
DecoderStartDecode(card); |
Line 1098 void L64021Intr(struct cvdv_cards *card)
|
Line 1098 void L64021Intr(struct cvdv_cards *card)
|
as = card->AudioESSize; |
as = card->AudioESSize; |
if (as > 0) ap = (100 * a) / as; |
if (as > 0) ap = (100 * a) / as; |
else ap = 0; |
else ap = 0; |
if (ap > 40) { |
if (ap > 90) { |
MDEBUG(0,": Delayed Audio Decoder start\n"); |
MDEBUG(0,": Delayed Audio Decoder start\n"); |
AudioSetPlayMode(card, MAUDIO_PLAY); |
AudioSetPlayMode(card, MAUDIO_PLAY); |
if (!AudioStart(card)) { |
if (!AudioStart(card)) { |