Permalink
Browse files

Setting default number of periods to 8

  • Loading branch information...
1 parent 2aed0d5 commit 0b593bba171a77f5b8f7116e10a8486996ee8217 @wedesoft committed Jan 18, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/hornetseye-alsa/alsainput.rb
  2. +1 −1 lib/hornetseye-alsa/alsaoutput.rb
@@ -50,7 +50,7 @@ class << self
# @return [AlsaInput] An object for accessing the microphone.
#
# @see #rate
- def new( pcm_name = 'default:0', rate = 48000, channels = 2, periods = 16,
+ def new( pcm_name = 'default:0', rate = 48000, channels = 2, periods = 8,
frames = 1024 )
orig_new pcm_name, rate, channels, periods, frames
end
@@ -50,7 +50,7 @@ class << self
# @return [AlsaOutput] An object for accessing the speakers.
#
# @see #rate
- def new( pcm_name = 'default:0', rate = 48000, channels = 2, periods = 16,
+ def new( pcm_name = 'default:0', rate = 48000, channels = 2, periods = 8,
frames = 1024 )
orig_new pcm_name, rate, channels, periods, frames
end

0 comments on commit 0b593bb

Please sign in to comment.