Ticket #4764: t4764.diff

File t4764.diff, 590 bytes (added by Janne Grunau, 13 years ago)

using suggested values by Mark Spieth

  • libs/libmyth/audiooutputalsa.cpp

     
    8989    }
    9090    else
    9191    {
    92         fragment_size =
    93             (audio_bits * audio_channels * audio_samplerate) / (8*30);
    94         buffer_time = 100000;
     92        fragment_size = (audio_bits * audio_channels * audio_samplerate) / 250;
     93        buffer_time = 32000 * 4;    // in usec
    9594        period_time = buffer_time / 4;  // 4 interrupts per buffer
    9695    }
    9796