optimising stream buffer parameters (mythtv)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My little mythtv PulseAudio output effort is ticking along fairly
nicely, but I'm more than a little puzzled over the stream buffer
parameters to use. By default, pa_stream_connect_playback() sets
up with 
  maxlength 96000
  minreq    1280
  prebuf   62720
  tlength  64000
which to me feels just a little extravagant in the mythtv context.

My guesstimates on refining/tightening them goes along the lines
of ...
- set minreq based on say 10-20 msecs @ given samplerate 
- set maxlength to 16 times minreq
- set tlength to 2/3 to 3/4 of maxlength
- no idea what the ideal prebuf might be, guessing at slightly
  less than tlength.

Thoughts and suggestions are most welcome.

Cheers, Cal
      





[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux