Default number of samples on T1 is now 64 which solves DMA alignment issues.
git-svn-id: http://yate.null.ro/svn/yate/trunk@723 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
eb468cdf3e
commit
c11becf5ea
|
@ -351,6 +351,12 @@ WpData::WpData(WpSpan* span, const char* card, const char* device, Configuration
|
|||
m_fd = fd;
|
||||
m_span->m_data = this;
|
||||
}
|
||||
|
||||
if (m_span->chans() == 24)
|
||||
// for T1 we typically have 23 B channels so we adjust the number
|
||||
// of samples to get multiple of 32 bit and also reduce overhead
|
||||
m_samples = 64;
|
||||
|
||||
m_samples = cfg.getIntValue("general","samples",m_samples);
|
||||
m_samples = cfg.getIntValue(sect,"samples",m_samples);
|
||||
m_swap = cfg.getIntValue("general","bitswap",m_swap);
|
||||
|
|
Loading…
Reference in New Issue