Couldn't get stream from bluetooth headset

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

 



On Thu, 2017-10-12 at 21:13 +0900, Shinnosuke Suzuki wrote:
> Dear Tanu,
> 
> Thank you for advice.
> 
> I didn't resolve my issue, but I got cause of error in stream callback in
> the
> PA_STREAM_FAILED state.
>  pa_context_errno : Access denied
>  pa_context_errno(pa_stream_get_context) : Invalid argument

There can be only one error at a time, but here you list two errors. In
what situations these errors happen?

"Access denied" usually means that the program fails authorization, but
then you wouldn't see the context changing state to PA_CONTEXT_READY.
Do you possibly create the stream before the context state has changed
to PA_CONTEXT_READY? I believe that's the only case where stream
creation could fail with "Access denied".

"Invalid argument" could mean that you're trying to create the stream
with bad parameters.

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux