diff options
author | Shaun Ruffell <sruffell@digium.com> | 2008-08-19 20:14:06 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2008-08-19 20:14:06 +0000 |
commit | dfaff26c68032ba4837575ec48ea11ebf8f44b96 (patch) | |
tree | a13d24508abaa9a7aa4c08ce04f85aa25506a6f5 /include/dahdi | |
parent | 6d91df78df4200f1bd932bfb0d8d717b32c42492 (diff) |
Couple of fixes for the transcoder:
- In dahdi_transcode.c, Embed the identifiation number, assigned sequentially
when the transcoders are registered, in the transcoder structure. This allows
DAHDI_TC_GETINFO to work as expected even though the transcoders are rotated
on the list in order to spread the load.
- In wctc4xxp, fix bug where all transcoders are named tc400b0.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4791 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi')
-rw-r--r-- | include/dahdi/kernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index ec6a7a2..1b165f9 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -667,6 +667,7 @@ dahdi_tc_clear_data_waiting(struct dahdi_transcoder_channel *dtc) { struct dahdi_transcoder { struct list_head node; + int pos; char name[80]; int numchannels; unsigned int srcfmts; |