Commit f8245066 authored by Simon Morlat's avatar Simon Morlat
Browse files

remember the sndcard used in ringstream.

parent 05fda93c
......@@ -49,6 +49,7 @@ extern "C" {
struct _RingStream
MSSndCard *card;
MSTicker *ticker;
MSFilter *source;
MSFilter *gendtmf;
......@@ -60,6 +60,7 @@ RingStream * ring_start_with_cb(MSFactory* factory, const char *file, int interv
MSPinFormat pinfmt={0};
stream=(RingStream *)ms_new0(RingStream,1);
stream->card = sndcard;
if (file) {
if (stream->source == NULL){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment