diff --git a/linux/alsa/JackAlsaAdapter.h b/linux/alsa/JackAlsaAdapter.h index 4d0101d5..bd2748ca 100644 --- a/linux/alsa/JackAlsaAdapter.h +++ b/linux/alsa/JackAlsaAdapter.h @@ -381,17 +381,21 @@ namespace Jack { short* chan16b; for ( c = 0; c < fCardInputs; c++ ) + { chan16b = ( short* ) fInputCardChannels[c]; - for ( s = 0; s < fBuffering; s++ ) - fInputSoftChannels[c][s] = float ( chan16b[s] ) * ( 1.0/float ( SHRT_MAX ) ); + for ( s = 0; s < fBuffering; s++ ) + fInputSoftChannels[c][s] = float ( chan16b[s] ) * ( 1.0/float ( SHRT_MAX ) ); + } } else // SND_PCM_FORMAT_S32 { long* chan32b; for ( c = 0; c < fCardInputs; c++ ) + { chan32b = ( long* ) fInputCardChannels[c]; - for ( s = 0; s < fBuffering; s++ ) - fInputSoftChannels[c][s] = float ( chan32b[s] ) * ( 1.0/float ( LONG_MAX ) ); + for ( s = 0; s < fBuffering; s++ ) + fInputSoftChannels[c][s] = float ( chan32b[s] ) * ( 1.0/float ( LONG_MAX ) ); + } } break; default : diff --git a/macosx/Jackdmp.xcodeproj/project.pbxproj b/macosx/Jackdmp.xcodeproj/project.pbxproj index 30579491..b93543ac 100644 --- a/macosx/Jackdmp.xcodeproj/project.pbxproj +++ b/macosx/Jackdmp.xcodeproj/project.pbxproj @@ -641,7 +641,7 @@ isa = PBXContainerItemProxy; containerPortal = 08FB7793FE84155DC02AAC07 /* Project object */; proxyType = 1; - remoteGlobalIDString = 4B5E08BF0E5B66EE00BEE4E0 /* netadapter */; + remoteGlobalIDString = 4B5E08BF0E5B66EE00BEE4E0; remoteInfo = netadapter; }; 4B35C5540D4731D2000DE7AE /* PBXContainerItemProxy */ = {