Fixed compilation

This commit is contained in:
Jaroslav Kysela 2003-02-12 21:48:10 +00:00
parent be5b2ce72c
commit 88bc5d454e

View file

@ -26,6 +26,7 @@
* *
*/ */
#include "config.h"
#ifdef HAVE_JACK #ifdef HAVE_JACK
#define USE_JACK #define USE_JACK
#endif #endif
@ -173,6 +174,8 @@ snd_pcm_jack_process_cb (jack_nframes_t nframes, snd_pcm_t *pcm)
snd_pcm_channel_area_t area; snd_pcm_channel_area_t area;
char buf[1]; char buf[1];
printf("PROCESS!\n");
area.addr = jack_port_get_buffer (jack->ports[0], nframes); area.addr = jack_port_get_buffer (jack->ports[0], nframes);
area.first = 0; area.first = 0;
area.step = pcm->sample_bits; area.step = pcm->sample_bits;