Re: Audio sink stream remains suspended on reconnection

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

 



Hi Luiz,

On Fri, May 10, 2013 at 1:09 AM, Luiz Augusto von Dentz
<luiz.dentz@xxxxxxxxx> wrote:
> Yes, you should release the fd once the state change to idle, in the
> future we might actually use frevoke (http://lwn.net/Articles/192632/)
> to revoke the permissions but for now we have to assume the endpoint
> will behave and close whenever the transport became idle. You are also
> right, we should probably update the documentation to state the fd is
> considered revoked in this case and the endpoint has to acquired
> again. Btw PulseAudio does that already so Im curious why you are not
> using PA, or is this for another Audio daemon?

Oh, thank you very much for that information. I would never guessed
that was the problem!
Having the documentation clear and updated is good not only because
not everyone uses PA, but also because definitively we don't want to
use PA for testing (we may want to fake and control the interaction
with the audio server to run a test). Actually, as Scott mentioned we
are not using PA on Chromium/ChromiumOS laptops, we are using CRAS
(ChromeOS Audio Server) which is basically the minimum we need to have
low latency dynamic audio routing with a low CPU impact... and that's
basically the "why". If you are curious, you can find the original
design doc here [1], the code is opensource and here [2] and actually
also works on ubuntu [3], but need applications (like chrome) that
know how to talk with cras.

Again, thanks for the help.
Alex.

[1] http://www.chromium.org/chromium-os/chromiumos-design-docs/cras-chromeos-audio-server
[2] http://git.chromium.org/gitweb/?p=chromiumos/third_party/adhd.git;a=summary
[3] http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/chrome-with-libcras-on-gprecise
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux