Skip to content

Commit

Permalink
fix for ofSoundStream - checks if OF_SOUNDSTREAM_TYPE is defined befo…
Browse files Browse the repository at this point in the history
…re using it.
  • Loading branch information
ofTheo committed Jul 21, 2011
1 parent a46daaa commit 935c0ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/openFrameworks/sound/ofSoundStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ void ofSoundStreamListDevices(){

//------------------------------------------------------------
ofSoundStream::ofSoundStream(){
setSoundStream( ofPtr<OF_SOUND_STREAM_TYPE>(new OF_SOUND_STREAM_TYPE) );
#ifdef OF_SOUND_STREAM_TYPE
setSoundStream( ofPtr<OF_SOUND_STREAM_TYPE>(new OF_SOUND_STREAM_TYPE) );
#endif
}

//------------------------------------------------------------
Expand Down

0 comments on commit 935c0ee

Please sign in to comment.