Commit 7a9f3805 authored by pieterpalmers's avatar pieterpalmers
Browse files

fix port disable bug (jwoithe)

git-svn-id: 0c269be4-1314-0410-8aa9-9f06e86f4224
parent ced531da
......@@ -147,7 +147,7 @@ JackFFADODriver::ffado_driver_write (ffado_driver_t * driver, jack_nframes_t nfr
/* use the silent buffer if there is no valid jack buffer */
if (!buf) buf = (jack_default_audio_sample_t*)driver->nullbuffer;
ffado_streaming_set_playback_stream_buffer(driver->dev, chn, (char *)(buf));
ffado_streaming_playback_stream_onoff(driver->dev, chn, 1);
} else if (driver->playback_channels[chn].stream_type == ffado_stream_type_midi) {
jack_nframes_t nevents;
jack_nframes_t i;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment