Posts: 199
Joined: Feb 2009
Reputation:
6
bobb0
Senior Member
Posts: 199
Compiled with your most recent changes tonight.
Is there anything else that may be useful to you? I could proc /proc/asound/card0/pcm3p/sub0/*
I wish there was a way to attach some kind of VU meter to the sink.. The only other possibility is that it's a buffer underrun noise, but IIRC that would be a more consistent type noise, wheras this is definitely in the bass freq range, which tends to make me think 'clipping' more than latency/buffer issues.
Posts: 199
Joined: Feb 2009
Reputation:
6
bobb0
Senior Member
Posts: 199
I commented out the 32bit option in the code.. I'm listening to the output for clips in 16bit output mode. So far so good but I will keep you up to date.
Posts: 199
Joined: Feb 2009
Reputation:
6
bobb0
Senior Member
Posts: 199
I noticed an improvement, or at least I thought I did... until I listened to A Perfect Circle - Judith. There is still heavy amounts of clipping even when in 16bit output. I also disabled the visualization to ensure that maximum processing power would be available to alsa (2.6GHz AMD AM2+ LowPower processor). Just to be sure I'm not crazy I'm going to listen to the same file on another PC with some good speakers, but I'm pretty sure these clips are not present in the source.
IN S16NE --> FLOAT --> OUT S16NE
Posts: 442
Joined: Feb 2008
Reputation:
34
gnif
Team-XBMC Developer
Posts: 442
2010-09-24, 06:03
(This post was last modified: 2010-09-24, 06:06 by gnif.)
I believe I have found part of the issue, there was a bad calc on the amount of data written, bufferers were getting messed up, try with the latest and 32bit, it hopefully is fixed now
it had: bytes = samples * bytes per frame
thats going to cause issues! esp if the output bytes per frame != bytes per sample, which would have been the case in anything except 2ch S16
I am not scared of SVN - Cutting my hands open on the bleeding edge.
Posts: 199
Joined: Feb 2009
Reputation:
6
bobb0
Senior Member
Posts: 199
No perceptible difference. To be sure, I rm'd the entire source, svn up and recompiled.
Posts: 4,549
Joined: Dec 2007
Reputation:
17
topfs2
Team-Kodi Developer
Posts: 4,549
I read that as 16,20 and 24 bit in 32-196khz. Not 32bit. ?
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: 442
Joined: Feb 2008
Reputation:
34
gnif
Team-XBMC Developer
Posts: 442
Seems like the endian is not getting swapped correctly for your system... what is your CPU?
I am not scared of SVN - Cutting my hands open on the bleeding edge.