|
|
|
@@ -581,7 +581,7 @@ namespace Jack |
|
|
|
for (int audio_port_index = 0; audio_port_index < fPlaybackChannels; audio_port_index++) { |
|
|
|
#ifdef OPTIMIZED_PROTOCOL |
|
|
|
// Port is connected on other side... |
|
|
|
if ((uintptr_t)fNetAudioPlaybackBuffer->GetBuffer(audio_port_index) == -1) { |
|
|
|
if ((intptr_t)fNetAudioPlaybackBuffer->GetBuffer(audio_port_index) == -1) { |
|
|
|
fNetAudioPlaybackBuffer->SetBuffer(audio_port_index, GetOutputBuffer(audio_port_index, true)); |
|
|
|
} else { |
|
|
|
fNetAudioPlaybackBuffer->SetBuffer(audio_port_index, NULL); |
|
|
|
|