mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed compilation
This commit is contained in:
parent
be5b2ce72c
commit
88bc5d454e
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue