Displaying 20 results from an estimated 500 matches similar to: "Jitter Buffer issues"
2019 Jul 15
2
[PATCH libnbd] examples: Include an example of integrating with the glibc main loop.
** NOT WORKING **
This patch shows how to integrate libnbd and the glib main loop.
Posted mainly as a point of discussion as it doesn't quite work yet.
Rich.
2019 Jul 30
0
[PATCH libnbd] examples: Fix theoretical cookie race in example.
There was a theoretic race in this example: If the server was very
fast at handling commands then it's possible that in a call such as:
cookie = nbd_aio_pread_callback (..., callback, ...);
buffers[i].cookie = cookie;
nbd_aio_pread_callback finished and calls the callback before
returning. buffers[i].cookie would therefore not be set, but the
callback() function was checking the list of
2019 Jul 17
1
Re: [PATCH libnbd] examples: Include an example of integrating with the glib main loop.
On 7/15/19 1:38 PM, Richard W.M. Jones wrote:
> ---
> .gitignore | 1 +
> README | 2 +
> configure.ac | 9 +
> examples/Makefile.am | 22 ++
> examples/glib-main-loop.c | 501 ++++++++++++++++++++++++++++++++++++++
> 5 files changed, 535 insertions(+)
>
Rough review (since I've never used a glib main loop
2019 Jul 15
0
[PATCH libnbd] examples: Include an example of integrating with the glib main loop.
---
.gitignore | 1 +
README | 2 +
configure.ac | 9 +
examples/Makefile.am | 22 ++
examples/glib-main-loop.c | 501 ++++++++++++++++++++++++++++++++++++++
5 files changed, 535 insertions(+)
diff --git a/.gitignore b/.gitignore
index edbf941..79b95b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,7 @@ Makefile.in
2019 Jul 17
0
[PATCH libnbd v2] examples: Include an example of integrating with the glib main loop.
---
.gitignore | 1 +
README | 2 +
configure.ac | 9 +
examples/Makefile.am | 22 ++
examples/glib-main-loop.c | 511 ++++++++++++++++++++++++++++++++++++++
5 files changed, 545 insertions(+)
diff --git a/.gitignore b/.gitignore
index ce02aef..9a8ba37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,7 @@ Makefile.in
2019 Jul 30
4
[PATCH libnbd] examples: Fix theoretical cookie race in example.
Previously discussed here:
https://www.redhat.com/archives/libguestfs/2019-July/msg00213.html
It turns out that deferring callbacks is a PITA. (It would be a bit
easier if C has closures.) However by rewriting the example we can
avoid the need to use the cookie at all and make it run a bit more
efficiently, so let's do that instead.
Rich.
2019 Jul 17
2
[PATCH libnbd v2] examples: Include an example of integrating with glib main loop.
This is working now, and incorporates all of the changes in Eric's
review, *except* that it still doesn't retire commands (although this
seems to make no obvious difference, except possibly a performance and
memory impact).
Rich.
2004 Jun 20
2
[PATCH] fixup journal-related ifdef mess
always use the 2.6 variants and fix up for 2.4 under the hood
Index: src/journal.c
===================================================================
--- src/journal.c (revision 1156)
+++ src/journal.c (working copy)
@@ -105,9 +105,17 @@
return status;
}
-#else
-#define ocfs_journal_start journal_start
-#define ocfs_journal_stop journal_stop
+
+#define journal_start(journal, nblocks) \
+
2007 Aug 06
2
11kbps narrowband on a 24bit DSP
Hi,
I am using speex 1.2beta2 on a 24bit DSP that has a severe program and
data space limitations. I am only interested in the speex decoder for
11kbps narrowband implementation.
I am using the following parameters and structures
160, /*frameSize*/
40, /*subframeSize*/
10, /*lpcSize*/
17, /*pitchStart*/
144, /*pitchEnd*/
/* 11 kbps medium bit-rate
2009 Feb 12
0
Sign differences amoung QR solutions.
I was noticing mainly sign differences amoung the solutions to QR decomposition. For example R:
> x <- matrix(c(12,-51,4,6,167,-68,-4,24,-41),nrow=3,byrow=T)
> x
[,1] [,2] [,3]
[1,] 12 -51 4
[2,] 6 167 -68
[3,] -4 24 -41
> r <- qr(x)
> r$qr
[,1] [,2] [,3]
[1,] -14.0000000 -21.0000000 14
[2,] 0.4285714 -175.0000000 70
[3,]
2009 Jul 01
1
Are there any bloggers amoung us going to useR 2009 ?
*(note*: This is an R community question, not a statistical nor coding
question. Since this is my first time writing such a post, I hope no one
will take offence of it.)
Hello all,
I will be attending useR 2009 next week, and was wondering if there are any
of you who are *bloggers *intending to participate and report on useR 2009?
If so - I would love to know your blogs URL so as to follow you.
2007 Aug 06
0
11kbps narrowband on a 24bit DSP
I've never tried Speex on a 24-bit DSP, but I would suggest actually
leaving the code (nearly) as-is. The scaling factors actually should not
change because I'm using integer multiplications, not fractional
multiplications. So what should happen is that the top 8 bits or 24-bit
values and the top 16-bit of 48-bit values will be unused (filled with
sign bits). There may be a few cases where
2006 Jan 12
3
Introspecting Active Record Associations
Hi,
I''m looking into write scaffold generators that will, amoung other
things, scaffold active record associations (eg. generate select
boxes for belongs_to where you can choose a parent object) for quicker
prototyping. But...
My question is: Is there anyway of finding out what associations
exist from examining the lodel classes themselves or indeed any other
way of finding out this
2004 Jun 07
2
[LLVMdev] TargetFrameInfo: what's local area offset
The TargetFrameInfo, amoung other things, specifies "local area offset" --
which, as comment say, is:
the offset of the local area from the stack pointer on entrance to a
function.
The question is -- what's local area? Is this the first stack location which
can be used by function for allocating its own variables?
- Volodya
2004 Aug 07
3
Message waiting
The message waiting options seem to be geared for a normal office
environment where there is a one-to-one relationship between a
user and a phone/mailbox.
I want to have a mailbox that is shared amoung a number of people
and want the message waiting light to turn on on multiple phones.
I can direct the voice mail to the common mail box.
I can direct the individual users to the common mail
2011 Jul 21
2
fyi: RHEL 5.7 is out
hi fyi,
it seems redhat has just pushed RHEL 5.7 out.
I see amoung others:
kernel-2.6.18-274.el5.x86_64.rpm
redhat-release-5Server-5.7.0.3.x86_64.rpm
Rainer
2007 Feb 14
1
To jitter buffer or not to jitter buffer?
Greetings list,
Some time ago (probably about a year ago now) we disabled IAX jitter
buffering on all our boxes because it was causing issues in a mixed 1.0 and
1.2 environment.
One thing I've noticed over the last few months as more and more clients
have moved from the 512k/1mb/2mb ADSL connections they were using onto "up
to 8mb" connections is that whilst overall throughput is a
2020 Sep 23
0
[R] jitter-bug? problematic behaviour of the jitter function
Hello,
R 4.0.2 on Ubuntu 20.04, sessionInfo at end.
This came up in r-help, I'm answering to the OP and also posting to
r-devel since I believe it is more appropriate there.
I can confirm this. The original instructions are the first and the
last, but even with smaller numbers the error shows up.
set.seed(2020)
jitter(c(1,2,10^4)) # desired behaviour
#[1] 1.058761 1.957690
2006 Aug 21
1
Passing parameters for the server's hostname/ip to the client?
Hey everyone --
Is there a way to refer to the server with the tftpboot images so that
when a client is booting diskless, it can mount an nfs directory to that
tftp server?
That is to say that I have a tftp server on 192.168.0.244. The usr
directory is set to be shared amoung the diskless clients via nfs. In the
root image, I have /etc/fstab set to something like:
blah
blah
2009 Jan 23
1
XML package help
Please consider this:
<Manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<!-- eName : name of the element.
eValue : value of the element. -->
<OutputFilePath>./XYZ</OutputFilePath>
<FilesList>
<File>
<FileTypeId>10</FileTypeId>