mirror of
https://github.com/ShaYmez/xlxd.git
synced 2025-03-09 13:58:32 -04:00
amber 1.2.1
corrected bug when pairing 3003+3000 added version reporting at startup
This commit is contained in:
parent
3f9555fe59
commit
384b6d41b1
@ -485,13 +485,18 @@ int CFtdiDeviceDescr::CreatePair(CUsb3003Interface *Usb3003A, CUsb3000Interface
|
||||
Channel = new CVocodecChannel(Usb3003A, 1, Usb3003A, 0, CODECGAIN_AMBE2PLUS);
|
||||
channels->push_back(Channel);
|
||||
Usb3003A->AddChannel(Channel);
|
||||
// ch5
|
||||
// ch3
|
||||
Channel = new CVocodecChannel(Usb3003A, 2, Usb3000B, 0, CODECGAIN_AMBEPLUS);
|
||||
channels->push_back(Channel);
|
||||
Usb3003A->AddChannel(Channel);
|
||||
Usb3000B->AddChannel(Channel);
|
||||
// ch4
|
||||
Channel = new CVocodecChannel(Usb3000B, 2, Usb3003A, 2, CODECGAIN_AMBE2PLUS);
|
||||
channels->push_back(Channel);
|
||||
Usb3003A->AddChannel(Channel);
|
||||
Usb3000B->AddChannel(Channel);
|
||||
// done
|
||||
nStreams = 6;
|
||||
nStreams = 4;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -97,7 +97,7 @@ int main(int argc, const char * argv[])
|
||||
g_AmbeServer.SetListenIp(CIp(argv[1]));
|
||||
|
||||
// and let it run
|
||||
std::cout << "Starting AMBEd" << std::endl << std::endl;
|
||||
std::cout << "Starting AMBEd " << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_REVISION << std::endl << std::endl;
|
||||
if ( !g_AmbeServer.Start() )
|
||||
{
|
||||
std::cout << "Error starting AMBEd" << std::endl;
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_REVISION 0
|
||||
#define VERSION_REVISION 1
|
||||
|
||||
// global ------------------------------------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user