Posts: 7,135
Joined: Oct 2012
un1versal
Out of Memory (1939–2016)
Posts: 7,135
@
vfred Because its broken?
uNi
Posts: 3,025
Joined: Sep 2011
Reputation:
255
DDDamian
Team-XBMC Developer
Posts: 3,025
Fair suggestions. Trying to get each platform to follow expected behaviour has been the issue, especially for Linux and Android, and the work really needs to be done in the sinks to keep the engine as generic as possible. That said, devs for those platforms have been working hard on this as it's been identified as a blocker.
There's a catch-22 on Linux especially: many users need audio to suspend to release it for external players or to reduce CPU usage when idle, some need it to "stream silence" so their receivers don't drop the input, and in many ALSA/hardware configs ALSA does not seem to play nicely in it's own pause routines, nor being stopped and restarted. It caused audio to crap out on some systems. Turning that feature off lead to this issue of hogging the device.
System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
A fix is a valid fix, if it fixes something without introducing regressions.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
2013-01-31, 00:23
(This post was last modified: 2013-01-31, 00:27 by nickr.)
Yeah and release blocker apparently is not a release blocker.
mythtv can do HD audio via alsa without continuously blocking the alsa device, different codebase I realise, but it shows it is possible.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 38
Joined: Mar 2011
Reputation:
0
mcfang
Junior Member
Posts: 38
It's possible to release the audio device by changing the output device in XBMC (Settings->System->Audio Output->Audio output device), so if there is some way to script this then an external player could release it when playing and reset it after.
In Eden it was possible to change the audio device using python and the HTTP API but this has been deprecated and the JSON-RPC API does not appear to support changing this setting.
Any other ideas?
Posts: 23,266
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,266
@nickr:
Patch is welcome. There can be done a whole lot, if you have the time to do so.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 57
Joined: Aug 2012
Reputation:
5
I would also like to see this fixed, or at least get an option to tell XBMC to release it when not playing anything. I use a Wimp (music streaming service similar to Spotify), and prefer to start it in a x2go session from another pc, so i dont have to log out of XBMC, log into the desktop to play music, and then back into XBMC again when im done playing music in Wimp.
Posts: 44
Joined: Apr 2008
Reputation:
2
direx
Junior Member
Posts: 44
I just compiled the latest Frodo-branch from git and it looks like this issue has finally been fixed. I'm looking forward to a great 12.1 release, thanks everybody. But wait - what happened to the 12.1 milestone on Github?
Main: CPU: Intel Core i7-4790K, GFX: AMD RX480 8GB OC, Debian Linux
HTPC: CPU: Intel Core i5-3475S, GFX: Intel HD4000, Gentoo Linux (Kernel 4-stable), Kodi with 4K@30Hz and HD audio, AVR: Denon X6300H with 7.1.4 setup, TV: Samsung UE55HU7590@SEK3500
Fun: Microsoft XBox, with XBMC :)