On Sun, 2017-10-15 at 17:02 +0900, Shinnosuke Suzuki wrote: > Dear tanu, > > > There can be only one error at a time, but here you list two errors. In > > what situations these errors happen? > > I got two errors at the same point in the stream callback with a state > PA_STREAM_FAILED. > I got the errors by two ways, one is to call only pa_context_errno, > the other is to call pa_context_errno(pa_stream_get_context()). Are the two pa_context pointers different? You should have just one context. -- Tanu https://www.patreon.com/tanuk