diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-11 13:47:45 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-08-11 13:47:45 +0000 |
commit | 7d1d0aa73e6c57e758e37ca94a1390e233de8fab (patch) | |
tree | 5df3a8b187a0e1650555cb5c47b70628a8a8376e /xpp/xbus-pcm.c | |
parent | fd5cd404bce291706d50a25e44fc4add6c1ffd22 (diff) |
* pcmtx_chan debugging parameter now refers to a zaptel channel number.
* Do initialize xsp. Closes issue #13276 .
* xbus_core_shutdown can't be __exit as it is used in initilization as
well.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4473 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xbus-pcm.c')
-rw-r--r-- | xpp/xbus-pcm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xpp/xbus-pcm.c b/xpp/xbus-pcm.c index 72a6588..a5c186c 100644 --- a/xpp/xbus-pcm.c +++ b/xpp/xbus-pcm.c @@ -846,7 +846,6 @@ void generic_card_pcm_fromspan(xbus_t *xbus, xpd_t *xpd, xpp_line_t lines, xpack else #endif memcpy((u_char *)pcm, chans[i].writechunk, ZT_CHUNKSIZE); - // fill_beep((u_char *)pcm, xpd->addr.subunit, 2); } else memset((u_char *)pcm, 0x7F, ZT_CHUNKSIZE); pcm += ZT_CHUNKSIZE; @@ -881,7 +880,6 @@ void generic_card_pcm_tospan(xbus_t *xbus, xpd_t *xpd, xpacket_t *pack) if(got_data && !IS_SET(pcm_mute, i)) { /* We have and want real data */ // memset((u_char *)r, 0x5A, ZT_CHUNKSIZE); // DEBUG - // fill_beep((u_char *)r, 1, 1); // DEBUG: BEEP memcpy((u_char *)r, pcm, ZT_CHUNKSIZE); } else if(IS_SET(xpd->wanted_pcm_mask | xpd->silence_pcm, i)) { /* Inject SILENCE */ |