FreeBSD Bugzilla – Attachment 148286 Details for
Bug 194346
ports/net/linphone OSS backend has very high speaker latency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Linphone patch
patch-linphone-oss.diff (text/plain), 558 bytes, created by
Hans Petter Selasky
on 2014-10-14 07:03:38 UTC
(
hide
)
Description:
Linphone patch
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2014-10-14 07:03:38 UTC
Size:
558 bytes
patch
obsolete
>--- mediastreamer2/src/audiofilters/oss.c.orig 2014-10-14 08:54:17.000000000 +0200 >+++ mediastreamer2/src/audiofilters/oss.c 2014-10-14 08:56:19.000000000 +0200 >@@ -364,7 +364,11 @@ > } > } > if (d->pcmfd_write>=0){ >- if (d->write_started){ >+ int bufsize = 0; >+ ioctl(d->pcmfd_write, SNDCTL_DSP_GETODELAY, &bufsize); >+ if (bufsize >= (2 * bsize)){ >+ /* wait for buffer to empty */ >+ }else if (d->write_started){ > err=ms_bufferizer_read(d->bufferizer,wtmpbuff,bsize); > if (err==bsize){ > err=write(d->pcmfd_write,wtmpbuff,bsize);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194346
:
148286
|
148296
|
148703