diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-24 13:27:44 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-06-24 13:27:44 +0000 |
commit | 461824ef0bcd514c3678e297c76010cd3e316f1d (patch) | |
tree | efb011cde3906d2227c05b119ee906285623cf31 /channels/chan_oss.c | |
parent | 687b8a2c01ab7d6239eede1b8c186e06466392df (diff) |
Make sure other drivers also zero delivery (thanks to steven davies)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3295 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_oss.c')
-rwxr-xr-x | channels/chan_oss.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_oss.c b/channels/chan_oss.c index 7bd7ddb8c..46d4e2cdf 100755 --- a/channels/chan_oss.c +++ b/channels/chan_oss.c @@ -615,6 +615,8 @@ static struct ast_frame *oss_read(struct ast_channel *chan) f.offset = 0; f.src = type; f.mallocd = 0; + f.delivery.tv_sec = 0; + f.delivery.tv_usec = 0; res = soundcard_setinput(0); if (res < 0) { @@ -650,6 +652,8 @@ static struct ast_frame *oss_read(struct ast_channel *chan) f.offset = AST_FRIENDLY_OFFSET; f.src = type; f.mallocd = 0; + f.delivery.tv_sec = 0; + f.delivery.tv_usec = 0; #if 0 { static int fd = -1; if (fd < 0) |