Ticket #8506: disable_visuals.patch

File disable_visuals.patch, 1.2 KB (added by Matthew Wire <devel@…>, 11 years ago)

Temporary workaround

  • libs/libmyth/audiooutputbase.cpp

    old new  
    549549    SetStretchFactorLocked(old_stretchfactor);
    550550
    551551    // Setup visualisations, zero the visualisations buffers
    552     prepareVisuals();
     552//    prepareVisuals();
    553553
    554554    if (unpause_when_ready)
    555555        pauseaudio = actually_paused = true;
     
    656656    was_paused = !pauseaudio;
    657657
    658658    // Setup visualisations, zero the visualisations buffers
    659     prepareVisuals();
     659//    prepareVisuals();
    660660}
    661661
    662662/**
     
    967967        // Send original samples to mythmusic visualisation
    968968        timecode = (long long)(frames_buffered) * 1000 / source_samplerate;
    969969        frames_buffered += frames;
    970         dispatchVisual((uchar *)buffer, len, timecode, source_channels,
    971                        output_settings->FormatToBits(format));
     970//        dispatchVisual((uchar *)buffer, len, timecode, source_channels,
     971//                       output_settings->FormatToBits(format));
    972972        music = true;
    973973    }
    974974