Cronyx Site
About Cronyx
Products Prices Contact information Search English 
English Russian  Russian
Software Payment
What's new
F. A. Q.
Partners
Vacancies
Forum
Site map


Форум cronyx.ru

Зарегистрироваться  |  Поиск

продолжаю глумиться над.stingray  ::  2005-05-27 16:35

вот такой вот кусочек
for (x=0;x<p->span.channels;x++) {
int t = 0;
for (y=0;y<ZT_CHUNKSIZE;y++)
if (buf [y*32 +x +1] != 255) {
t = 1;
break;
}
if (t)
for (y=0;y<ZT_CHUNKSIZE;y++)
LOG2(h, "chan %d pos %d val %d ", x, y, buf[y*32+x+1]);
}

в zaptel_transmit_done
позволяет увидеть следующие результаты

May 27 16:32:33 localhost kernel: ce0: chan 15 pos 0 val 11
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 1 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 2 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 3 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 4 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 5 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 6 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 7 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 0 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 1 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 2 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 3 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 4 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 5 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 6 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 7 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 0 val 11
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 1 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 2 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 3 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 4 val 255
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 5 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 6 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 7 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 0 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 1 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 2 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 3 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 4 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 5 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 6 val 0
May 27 16:32:33 localhost kernel: ce0: chan 15 pos 7 val 0


и так далее

Это всё-таки заптел виноват, получается что?

E-mail:

Пароль:
 Забыли пароль?

Тема:

Сообщение:

Copyright © 1996-2018 Cronyx
www-adm@cronyx.ru