Posts: 155
Joined: Jun 2008
Reputation:
0
piotr
Senior Member
Posts: 155
Hi,
When I enable "crossfade" and set to 10 seconds for example I get a "cannot initialize audio device" when the player tries to crossfade and it skips to the next track. I have no other sound issues. Anyone ?
Posts: 699
Joined: Sep 2004
Reputation:
0
Is alsa setup to use dmix? Otherwise only one application can access the sound device at any given time.
Posts: 699
Joined: Sep 2004
Reputation:
0
I don't know. I'm not familiar with the libraries of alsa.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
I would say, try to play 2 files with 2 aplay simultaneusly, if that works then it must be something we do wrong.
Cheers,
Tobias
If you have problems please read
this before posting
Always read the
XBMC online-manual,
FAQ and
search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the
forum rules.
For troubleshooting and bug reporting please make sure you
read this first.
"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Posts: 117
Joined: Dec 2006
Reputation:
0
I can't find where I saved that old debug log - I'll create another log when i get a chance (without dmix enabled) then post a link for you.
It's definitely some weird alsa issue though - crossfading works fine once an .asoundrc that enables dmix is created...
Posts: 117
Joined: Dec 2006
Reputation:
0
yeah, that's correct - crossfading works fine with the .asoundrc to enable dmix.
Supposedly alsa since 1.0.9rc2 has dmix enabled via software (by default) for any soundcards that don't handle it via hardware, but for some reason, it wasn't working for me...
I suspect either my alsa upgrade didn't work 100% correct, or my motherboard has some weird onboard sound that alsa doesn't play nice with.
Either way, it's not an xbmc issue in my case, and i suspect piotr may have the same problem... I won't bother with the log then.
Cheers,
Adam.