Displaying 7 results from an estimated 7 matches for "towrit".
Did you mean:
towrite
2010 Jun 26
3
Down Convertion from 32Khz to 16Khz
hi
on my device i can sample only at 32khz and want to use speex at 16khz so i
need to down-convert the input signal by factor of 2.
does anyone provide me a reference to some code that does that? are there
any trick to do that?
i tried to add to subsequent sample but the result was very bad.
what are the requrment from a decimation filter for audio?
thanks,
nir
-------------- next part
2020 Feb 07
0
[RFC PATCH v7 34/78] KVM: x86: intercept the write access on sidt and other emulated instructions
...1a..6e665341cc80 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -5450,11 +5450,14 @@ static int kvm_write_guest_virt_helper(gva_t addr, void *val, unsigned int bytes
if (gpa == UNMAPPED_GVA)
return X86EMUL_PROPAGATE_FAULT;
+ if (!kvm_page_track_prewrite(vcpu, gpa, addr, data, towrite))
+ return X86EMUL_RETRY_INSTR;
ret = kvm_vcpu_write_guest(vcpu, gpa, data, towrite);
if (ret < 0) {
r = X86EMUL_IO_NEEDED;
goto out;
}
+ kvm_page_track_write(vcpu, gpa, addr, data, towrite);
bytes -= towrite;
data += towrite;
2010 Jun 26
0
Down Convertion from 32Khz to 16Khz
...16bit to 8bit. Here's the core of my conversion logic.
def convertData(def inputStream, def outputStream) {
boolean otherByte = false
inputStream.eachByte {
if(otherByte) {
//invert high order byte
int inverted = ((int)it) ^ 0x00000080
byte[] toWrite = new byte[1]; toWrite[0] = (byte)inverted
outputStream.write toWrite
otherByte = false
} else otherByte = true
}
}
Basically you need to write every other byte in thePCM sample stream.
Clifton Craig
Software Engineer
http://codeforfun.wordpress.com
clifton.c...
2020 Feb 07
78
[RFC PATCH v7 00/78] VM introspection
The KVM introspection subsystem provides a facility for applications
running on the host or in a separate VM, to control the execution of
other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs,
MSRs etc.), alter the page access bits in the shadow page tables (only
for the hardware backed ones, eg. Intel's EPT) and receive notifications
when events of interest have taken place
2020 Jul 21
87
[PATCH v9 00/84] VM introspection
The KVM introspection subsystem provides a facility for applications
running on the host or in a separate VM, to control the execution of
other VMs (pause, resume, shutdown), query the state of the vCPUs (GPRs,
MSRs etc.), alter the page access bits in the shadow page tables (only
for the hardware backed ones, eg. Intel's EPT) and receive notifications
when events of interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running
on the host or in a separate VM, to control the execution of other VM-s
(pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.),
alter the page access bits in the shadow page tables (only for the hardware
backed ones, eg. Intel's EPT) and receive notifications when events of
interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running
on the host or in a separate VM, to control the execution of other VM-s
(pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.),
alter the page access bits in the shadow page tables (only for the hardware
backed ones, eg. Intel's EPT) and receive notifications when events of
interest have taken place