summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-08-19 20:14:06 +0000
committerShaun Ruffell <sruffell@digium.com>2008-08-19 20:14:06 +0000
commitdfaff26c68032ba4837575ec48ea11ebf8f44b96 (patch)
treea13d24508abaa9a7aa4c08ce04f85aa25506a6f5 /include
parent6d91df78df4200f1bd932bfb0d8d717b32c42492 (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')
-rw-r--r--include/dahdi/kernel.h1
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;