ok, i was setting a flag incorrectly (as encoded, instead of pcm). it worked fine on my receiver, so obviously some are different.
please try the new version in cvs now.
also, i've added butcher's suggestion and now the mcpx route is coming out at full volume whereas it used to have 6db of headroom. this means that all audio coming out, either through the mcpx or through the ac97 route will now be the same level.
i've also come across a killer sample for testing the quality of upsampling.
this file contains some low-level phone dialtones modulated on a very strong 19khz pure tone. the result is that if upsampling is not working too good, then you get "alien" type noises. if the upsampling is working well, then you'll just hear the dialtones.
note that due to the high amplitude, high frequency tone, this sample should be used very carefully.
i suggest that you try it out using headphones with the volume low so that you can recognise what the alien effect sounds like. this sample has the potential to burn out tweeters in poorly designed tweeters.
what it will sound like if the upsampling is working:
dial tones plus you may feel some pressure (start get a headache) if your speaker system passes the 19khz tone well - you probably won't hear the tone, but it is very loud, so you'll feel it if the volume is high enough.
what it will sound like if the upsampling is not working:
dial tones plus "alien" type interference.
what it will sound like if it's clipping:
dial tones plus loud "laser" type sounds.
the file can be obtained here:
udial upsampling test tone
there are 2 flac files in the .zip.
udial.flac - original 44khz sound
udialssrc.flac - same sound upsampled to 48khz using ssrc
the .zip file is password protected. the password is:
dontplayloud
you should be able to easily tell the difference when using xbmc.
please try the second file with the dd stereo pass through both on and off, and let me know how it works.
cheers,
jonathan