Re: [LAU] jack-stdio 1.1 - was [ANN] jack-stdout 1.0

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Gareus <robin@...>
Cc: <linux-audio-user@...>, Kjetil S. Matheussen <k.s.matheussen@...>
Date: Sunday, April 3, 2011 - 9:14 am

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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] jack-stdio 1.1 - was [ANN] jack-stdout 1.0, Kjetil S. Matheussen, (Fri Apr 1, 12:13 pm)
Re: [LAU] jack-stdio 1.1 - was [ANN] jack-stdout 1.0, Robin Gareus, (Fri Apr 1, 1:14 pm)
Re: [LAU] jack-stdio 1.1 - was [ANN] jack-stdout 1.0, Kjetil S. Matheussen, (Sun Apr 3, 9:14 am)
Re: [LAU] jack-stdio 1.1 - was [ANN] jack-stdout 1.0, Kjetil S. Matheussen, (Sun Apr 3, 9:20 am)
Re: [LAU] jack-stdio 1.1 - was [ANN] jack-stdout 1.0, Robin Gareus, (Sun Apr 3, 5:04 pm)