Ticket #150 (new defect)

Opened 9 months ago

Last modified 8 months ago

Sound playback does not block when data sent to fast

Reported by: balister Assigned to: cdietric
Priority: major Milestone: Release 0.8.0
Component: platform Version: trunk
Keywords: Cc:

Description (Last modified by balister)

The sound playback component drops data when it receives data faster than it can play it back.

This behavior was originally chosen for a waveform where the input data sample rate was set by the USRP and the output rate by the sound car. Since an overrun in this case is a problem, I decided to drop data on overruns.

Now I have a waveform that reads data from a file, processes the data, and sends it to the sound card. Obviously, this leads to drop data and now flow control back to the FileInput? block. I plan to change the sound playback routines to block, rather than drop data. We should watch to see if this is a problem for waveforms that receive data from fixed rate sources.

Change History

01/26/08 14:54:18 changed by balister

  • description changed.

r6255 is a really bad hack to get soundCardPlayback to block, rather than drop data. This code needs refactoring ...