Postby 3dOptics » Mon Aug 03, 2009 7:58 pm
Been a while since i last worked with dvbdreams api - but i think DDMODAPI_GET_TRANSPONDER_INFO is supposed to return info for the previous channel in BeforeChannelChange, as Before suggests the channel change did not yet happen. Instead you should look for the info in the supplied pChannelInfo parameter. or retrieve the channel corresponding to pChannelInfo from the channel list if TChannelInfo doesn't include all channel information (can't remember)
I thought about getting the Polarization from pChannelInfo but the structure does not include the Polarization for the channel. It includes the Satellite Position, but does not include the Polarization.
// Channel Info
typedef struct
{
DWORD dwSize;
WORD wNID;
WORD wSID;
WORD wSatPos;
DWORD dwChId;
char ChName[64];
char Provider[64];
BYTE ChType;
BYTE Scrambled;
WORD wVideo;
WORD wPMT;
WORD wPCR;
WORD wTTX;
TAudioInfo Audio;
TCAInfo ECM;
TCAInfo EMM;
WORD wChNo;
}TChannelInfo, *PChannelInfo;
TBS 6920 PCI-Express DVB-S/DVB-S2, Driver Version: 1.0.5.1
Windows Vista Business SP2 32bit
Gigabyte GA-MA780G-UD3H
ATI HD4550
AMD Athlon 64 X2 6000+ 3.0GHz
4gb of ram
DVBdream 2.2c OEM