Browse Source

Fix CELT code in JackNetOneDriver.cpp.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4218 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.7
sletz 14 years ago
parent
commit
f8d78dc7d0
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      common/JackNetOneDriver.cpp
  2. +1
    -1
      linux/alsa/JackAlsaDriver.cpp

+ 2
- 2
common/JackNetOneDriver.cpp View File

@@ -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


+ 1
- 1
linux/alsa/JackAlsaDriver.cpp View File

@@ -365,7 +365,7 @@ retry:
}

if (nframes != fEngineControl->fBufferSize)
jack_log("JackAlsaDriver::Read warning nframes = %ld", nframes);
jack_log("JackAlsaDriver::Read warning fBufferSize = %ld nframes = %ld", fEngineControl->fBufferSize, nframes);

// Has to be done before read
JackDriver::CycleIncTime();


Loading…
Cancel
Save