Ticket #159 (defect)

Opened 1 year ago

audio_portaudio source and sink don't stop cleanly

Status: new

Reported by: dward Assigned to: eb
Priority: low Milestone: to-be-decided
Component: gr-audio-portaudio Version: 3.0.3
Keywords: Cc: don2387ward@sprynet.com

Stopping a graph that uses audio_portaudio source and sink causes streams of "aO" and "aU" to be output. The attached patch fixes this by calling Pa_StopStream and Pa_StartStream when the graph is stopped and started. The attached example wire.py illustrates the problem and serves to test the patch. The patch has been tested on Windows with Cygwin and MSYS/Mingw.

Attachments

portaudio.patch (2.5 kB) - added by dward on 07/11/07 15:07:32.
patch for starting and stopping portaudio source and sink
wire.py (0.9 kB) - added by dward on 07/11/07 15:08:52.
test example for portaudio start/stop problem and patch

Change History

07/11/07 15:07:32: Modified by dward

  • attachment portaudio.patch added.

patch for starting and stopping portaudio source and sink

07/11/07 15:08:52: Modified by dward

  • attachment wire.py added.

test example for portaudio start/stop problem and patch