[pulseaudio-discuss] Erratic read callbacks on nullsink monitor

2015-06-09 Thread Eric Thornton
Strange question here, but I am hoping someone understands what's happening and can save me hours of debugging. The application interface I'm writing uses the threaded mainloop. I asynchronously read into a ringbuffer from which I can synchronously read from in specific frame blocks. Being a so

Re: [pulseaudio-discuss] write callback stops getting called

2015-04-07 Thread Eric Thornton
I ran into this issue also. Once a buffer underrun occurs, you won't get any more write callbacks until you satisfy the prebuf attribute value. Setting it to 0 certainly will work around this if you don't need a playback buffer. However you can use the buffer underrun callback to write the requi

Re: [pulseaudio-discuss] Erratic behavior with asynchronous reading and writing

2015-03-01 Thread Eric Thornton
ff data between read and write callbacks, things are running smoothly.  Eric On Thursday, February 26, 2015 10:37 PM, Eric Thornton wrote: One discovery I just made on the missing write callbacks: If I write data to the playback stream with prebuf enabled immediately after read

Re: [pulseaudio-discuss] Erratic behavior with asynchronous reading and writing

2015-02-26 Thread Eric Thornton
f my write callback happens with no data in the buffer? That seems inefficient for network operation, or am I still misunderstanding something here. Eric On Thursday, February 26, 2015 9:58 PM, Eric Thornton wrote: Tanu, Thanks for the reply. On further examination, the segfault is happ

Re: [pulseaudio-discuss] Erratic behavior with asynchronous reading and writing

2015-02-26 Thread Eric Thornton
On Mon, 2015-02-23 at 02:22 +, Eric Thornton wrote: > All, > > > I'm working on a basic asynchronous read/write program to understand > the API before applying it to another piece of software.  On a read > callback I create (or add to) a buffer, and then on write callb

[pulseaudio-discuss] Erratic behavior with asynchronous reading and writing

2015-02-22 Thread Eric Thornton
All, I'm working on a basic asynchronous read/write program to understand the API before applying it to another piece of software.  On a read callback I create (or add to) a buffer, and then on write callback I write back as much of it as allowed. The code follows pacat.c and several examples I'

Re: [pulseaudio-discuss] Stream corruption using simple API after network lag

2015-01-25 Thread Eric Thornton
Switched to using tunnel mode on the local machine and I am unable to reproduce the problem. This is definitely a pulseaudio bug using a direction connection with simple API over a network. I will file a bug report. On Wednesday, January 14, 2015 11:32 PM, Eric Thornton wrote

Re: [pulseaudio-discuss] Stream corruption using simple API after network lag

2015-01-14 Thread Eric Thornton
oor wifi signal while running the SDR application... after a few seconds of stuttering I get nothing but full volume white noise. Unsure of what other tests to run at this point. Thanks, Eric Thornton On Tuesday, January 13, 2015 11:54 AM, Peter Meerwald wrote: > Resending.

[pulseaudio-discuss] Stream corruption using simple API after network lag

2015-01-13 Thread Eric Thornton
Resending. ___ pulseaudio-discuss mailing list pulseaudio-discuss@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

[pulseaudio-discuss] Stream corruption using simple API after network lag

2015-01-12 Thread Eric Thornton
All, I've been trying to pin down the cause of an audio issue with pulseaudio and an application called Quisk.  This is a software defined radio application that uses I&Q sampling (L&R channels) via a sound card. The SDR radio has both audio in and out going to a Wolfson pi audio card attached t