[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] cvs+svn updates / audio / config files

From: Michael Dickens
Subject: Re: [Discuss-gnuradio] cvs+svn updates / audio / config files
Date: Tue, 2 May 2006 13:14:34 -0400

All audio module source and sink constructors are now homologous.
They accept:

  audio.sink(sample_rate, device_name, ok_to_block),
  audio.source(sample_rate, device_name, ok_to_block),

where device_name and ok_to_block are optional and default to "" and
True respectively.  ok_to_block should be False when there's another
source or sink in the flow graph that's really setting the pacing
through the pipeline.  Note that at this time, only the
audio_portaudio implementation pays attention to ok_to_block.  All
others treat it as if it were True.

gr-audio-osx also takes and uses the "ok_to_block" parameter (as a bool C++ type), with default TRUE for either source or sink.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]