View Single Post
  #2   (View Single Post)  
Old 8th January 2014
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 136
Default

From sndiod(1):

Quote:
-b nframes

The buffer size of the audio device in frames. A frame consists of one sample for each channel in the stream. This is the number of frames that will be buffered before being played and thus controls the playback latency. The default is 7680 or twice the block size (-z), if the block size is set.
I used to set this (and maybe -z, I don’t remember) to a low value in order to get rid of audio lag in games, but stopped due to getting lots of audio stuttering in mplayer. I’m not really sure how to intelligently choose the values so that doesn’t happen. You may want to ask ratchov@ (the main audio developer) for advice.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.
Reply With Quote