Program received signal SIGSEGV, Segmentation fault.
0x0804a0b0 in lvert::operator() (this=0xbffff5d8, v1=@0x8050470, v2=@0x8)
at p2.cpp:62
62 if(v1.x==v2.x)
(gdb) list
57
58 ...
Type: Posts; User: realcr
Program received signal SIGSEGV, Segmentation fault.
0x0804a0b0 in lvert::operator() (this=0xbffff5d8, v1=@0x8050470, v2=@0x8)
at p2.cpp:62
62 if(v1.x==v2.x)
(gdb) list
57
58 ...
Hi everyone.
I wrote my first useful program in C++ [maybe after hello world]. After hours of effort to make it survive the compilation [and it finally did] I can't make it work right. I get at...
I found out that when I increase the size of the buffer , the playback is better , however there are still jumps in the middle (they just occur less often).
realcr.
Thanks mouse,
indeed there seems to be something is wrong in my code with the size of buffers. I will check it out and return with answer and fixed code.
realcr.
U are right , however I still don't know what is the relevant part of code. Maybe these parts:
int main(int argc, char *argv[])
{
const int NUMPTS = 44100 * 10; // 10 seconds
...
I was trying to write a program that waits for 10 seconds for voice input from the mic ,and then echoes it back.
The problem is that when playing back the recorded data , it is played so slowly...
Thanks Devil , I'll try it out.
realcr.
Hi everyone.
This is my first visit here... I wanted to ask how can I read from the microphone using windows api.
I remember that doing it in linux was as easy as reading from a file , however I...