[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Portaudio
From: |
Nils Gey |
Subject: |
Re: [Denemo-devel] Portaudio |
Date: |
Fri, 13 Feb 2009 21:21:27 +0100 |
> > Basically Jack is for Audio what Jackmidi is for midi. You can route your
> > audio latency-free from any application to any.
> Ah, right, I think I get that - so instead of saying "open me a port and
> callback here when you want pcm samples of 16bit ints at 44000 samples
> per second" as you do with portaudio, you would say the the same sort of
> thing to jack & jack would send the audio on to anything that had
> connected to jack and asked for it. Whereas Portaudio only connects to a
> soundcard (I guess), albeit cross-platform. ok.
Nearly right. You don't tell Jack anything about bitrate and samples. This is
all done by the Jack-Server. If you choose to start jack with 96k denemo will
run with 96k, too.
This is "the simplest" Jackclient, two versions one with comments, one without.
http://tapas.affenbande.org/wordpress/?page_id=39
http://affenbande.org/~tapas/simplest_jack_client.c