diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/dahdi_config.h | 4 | ||||
-rw-r--r-- | include/dahdi/kernel.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/dahdi/dahdi_config.h b/include/dahdi/dahdi_config.h index 68547f1..98f0b51 100644 --- a/include/dahdi/dahdi_config.h +++ b/include/dahdi/dahdi_config.h @@ -174,5 +174,9 @@ /* #define OPTIMIZE_CHANMUTE */ +/* + * Pass DAHDI_AUDIOMODE to channel driver as well + */ +#define DAHDI_AUDIO_NOTIFY #endif diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 731961e..129e9b4 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -839,6 +839,11 @@ struct dahdi_span { /*! Opt: Used to tell an onboard HDLC controller that there is data ready to transmit */ void (*hdlc_hard_xmit)(struct dahdi_chan *chan); +#ifdef DAHDI_AUDIO_NOTIFY + /*! Opt: audio is used, don't optimize out */ + int (*audio_notify)(struct dahdi_chan *chan, int yes); +#endif + /* Used by DAHDI only -- no user servicable parts inside */ int spanno; /*!< Span number for DAHDI */ int offset; /*!< Offset within a given card */ |