Skip to content
Browse files

Working on documentation

  • Loading branch information...
1 parent 25e569f commit 5893a77b72919fda13d12be0e0cd0f56d22bd21e @wedesoft committed Nov 17, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/hornetseye-alsa/alsainput.rb
View
6 lib/hornetseye-alsa/alsainput.rb
@@ -45,8 +45,8 @@ class << self
# @param [String] pcm_name Name of the PCM device
# @param [Integer] rate Desired sampling rate.
# @param [Integer] channels Number of channels (1=mono, 2=stereo).
- # @param [Integer] periods Number of audio frames of the output buffer.
- # @param [Integer] frames Size of the audio frames of the output buffer.
+ # @param [Integer] periods Number of audio frames of the input buffer.
+ # @param [Integer] frames Size of the audio frames of the input buffer.
# @return [AlsaInput] An object for accessing the microphone.
#
# @see #rate
@@ -69,7 +69,7 @@ def new( pcm_name = 'default:0', rate = 48000, channels = 2, periods = 16,
# Audio data is read from the input buffer.
#
# A blocking read operation is used. I.e. the program is blocked until there is
- # sufficient data available in the audio output buffer.
+ # sufficient data available in the audio input buffer.
#
# @example Read 3 seconds of audio samples
# require 'hornetseye_alsa'

0 comments on commit 5893a77

Please sign in to comment.
Something went wrong with that request. Please try again.