Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MarkusLau

Pages: [1]
1
Audio / Re: Latency when starting recording
« on: October 17, 2018, 11:54:46 pm »
Thanks, that is the problem! but i dont have the option to "uncheck 'allow the computer to turn off this device to save power' " under deviceManager  :-\
But now that i know what the problem is, it is possible that i can find a solution  :)

2
Audio / Latency when starting recording
« on: October 14, 2018, 12:13:46 pm »
When starting a recording, the first aprox. 0.35 sekunds of samples in the soundbuffer are silence.   Is this a normal latency? or is there some ways to improve it?

The Attached picture is 1. secound of sound, with the silence  at the start.

basics of the code i'm using:

recorder.start(sampleRate);
Sleep(1000);
recorder.stop();

std::vector<int> finalSamples;

for(int i =0; i<recorder.getBuffer().getSampleCount();i++)
{

finaSamples.push_back(recorder.getBuffer().getSamples());
}

and then plotting the values of finalSamples.

Pages: [1]