|
|
|
@@ -158,7 +158,7 @@ namespace Jack |
|
|
|
|
|
|
|
if( netj.bitdepth == CELT_MODE ) { |
|
|
|
#if HAVE_CELT |
|
|
|
#if HAVE_CELT_API_0_7 |
|
|
|
#if HAVE_CELT_API_0_7 || HAVE_CELT_API_0_8 |
|
|
|
celt_int32 lookahead; |
|
|
|
CELTMode *celt_mode = celt_mode_create( netj.sample_rate, netj.period_size, NULL ); |
|
|
|
netj.capture_srcs = jack_slist_append(netj.capture_srcs, celt_decoder_create( celt_mode, 1, NULL ) ); |
|
|
|
@@ -207,7 +207,7 @@ namespace Jack |
|
|
|
|
|
|
|
if( netj.bitdepth == CELT_MODE ) { |
|
|
|
#if HAVE_CELT |
|
|
|
#if HAVE_CELT_API_0_7 |
|
|
|
#if HAVE_CELT_API_0_7 || HAVE_CELT_API_0_8 |
|
|
|
CELTMode *celt_mode = celt_mode_create( netj.sample_rate, netj.period_size, NULL ); |
|
|
|
netj.playback_srcs = jack_slist_append(netj.playback_srcs, celt_encoder_create( celt_mode, 1, NULL ) ); |
|
|
|
#else |
|
|
|
|