mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -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
|
||||
#define USE_JACK
|
||||
#endif
|
||||
|
|
@ -173,6 +174,8 @@ snd_pcm_jack_process_cb (jack_nframes_t nframes, snd_pcm_t *pcm)
|
|||
snd_pcm_channel_area_t area;
|
||||
char buf[1];
|
||||
|
||||
printf("PROCESS!\n");
|
||||
|
||||
area.addr = jack_port_get_buffer (jack->ports[0], nframes);
|
||||
area.first = 0;
|
||||
area.step = pcm->sample_bits;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue