Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using blocking write in AlsaOutput

  • Loading branch information...
commit ad20239de248af82ef4de6e980823494ccfef139 1 parent 6b4046e
@wedesoft authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Rakefile
  2. +1 −1  ext/alsaoutput.cc
View
2  Rakefile
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
require 'rbconfig'
PKG_NAME = 'hornetseye-alsa'
-PKG_VERSION = '0.3.0'
+PKG_VERSION = '0.3.1'
CFG = RbConfig::CONFIG
CXX = ENV[ 'CXX' ] || 'g++'
RB_FILES = FileList[ 'lib/**/*.rb' ]
View
2  ext/alsaoutput.cc
@@ -28,7 +28,7 @@ AlsaOutput::AlsaOutput( const string &pcmName, unsigned int rate,
snd_pcm_hw_params_t *hwParams;
snd_pcm_hw_params_alloca( &hwParams );
int err = snd_pcm_open( &m_pcmHandle, m_pcmName.c_str(), SND_PCM_STREAM_PLAYBACK,
- SND_PCM_NONBLOCK );
+ 0 );// SND_PCM_NONBLOCK
ERRORMACRO( err >= 0, Error, , "Error opening PCM device \"" << m_pcmName
<< "\": " << snd_strerror( err ) );
err = snd_pcm_hw_params_any( m_pcmHandle, hwParams );
Please sign in to comment.
Something went wrong with that request. Please try again.