diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-21 07:35:40 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-21 07:35:40 +0000 |
commit | 324d5b785fa58cb770c0974811126aaa0577914c (patch) | |
tree | a3debc142ab76fd8930d50db69fc30626ac58727 | |
parent | 90d10fafd9741fe4fea60e9eec6b1024e303f2c4 (diff) |
Take out unnecessary setting of delivery times.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2510 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | indications.c | 2 | ||||
-rwxr-xr-x | res/res_musiconhold.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/indications.c b/indications.c index 1f8b55555..fefec9153 100755 --- a/indications.c +++ b/indications.c @@ -123,8 +123,6 @@ static int playtones_generator(struct ast_channel *chan, void *data, int len, in ps->f.samples = samples; ps->f.offset = AST_FRIENDLY_OFFSET; ps->f.data = ps->data; - ps->f.delivery.tv_sec = 0; - ps->f.delivery.tv_usec = 0; ast_write(chan, &ps->f); ps->pos += x; diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c index 7d8918f03..450442d4b 100755 --- a/res/res_musiconhold.c +++ b/res/res_musiconhold.c @@ -461,8 +461,6 @@ static int moh_generate(struct ast_channel *chan, void *data, int len, int sampl f.samples = res / 2; f.data = buf + AST_FRIENDLY_OFFSET / 2; f.offset = AST_FRIENDLY_OFFSET; - f.delivery.tv_sec = 0; - f.delivery.tv_usec = 0; if (ast_write(chan, &f)< 0) { ast_log(LOG_WARNING, "Failed to write frame to '%s': %s\n", chan->name, strerror(errno)); return -1; |