On Fri, 1 Apr 2011, Robin Gareus wrote:
>
jack_capture writes blocks at the time:
int bytes_to_write=frames*num_channels*2;
{
int i;
int writeplace=0;
for(i=0;i>8)&0xff);
}
}
{
int fd=fileno(stdout);
while(bytes_to_write > 0){
int written=write(fd,tobuffer,bytes_to_write);
if(written==-1){
fprintf(stderr,"Error writing to stdout.\n");
break;
}
bytes_to_write -= written;
}
}
>> The reason why jack_capture lags a bit behind here is probably because
Thanks.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.