Mac OS X - Sample Rate mismatch when used with an audio interface

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #1
Hello,

I'm a new user and I've ran into a small problem with my audio output settings. I use an external audio interface Focusrite Saffire Pro 40 and when I configure XBMC to use this output something is going wrong with the sample rate setting - the audio playback is twice the normal speed and at the standard setting of 44.1 the audio is very choppy and not pleasant to listen to.

If I select the standard built in output the audio works fine, as soon as I switch back to the Pro 40 the audio gets messed up again.

I have tried changing the audio settings to find the correct one but nothing I have tried so far has worked, please can you tell me if this interface is compatible with XBMC and if it is what audio settings I should be using.

Thank you.

XBMC 13.2 64bit
OSX 10.9.4
Focusrite Saffire Pro 40 Mix Control 3.5
(This post was last modified: 2014-12-02 17:01 by TheStreamer.)
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #2
So, I've now downloaded the 14.0 beta to see if that would be any better. The audio is slightly better through the Saffire Pro 40 with 14.0 64bit but it's still not perfect, it seems to be playing a bit too fast and the sound quality is not very good.
find quote
Martijn Offline
Team Kodi
Posts: 13,345
Joined: Jul 2011
Reputation: 184
Location: Dawn of time
Post: #3
And as always: Debug Log needed

Do NOT e-mail Team-Kodi members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #4
http://pastebin.com/Njq7drKz

Here's the debug log
find quote
Memphiz Offline
I hate users
Posts: 12,983
Joined: Feb 2011
Reputation: 131
Location: germany
Post: #5
Looks not too bad in the log file tbh. Actually i don't see anything wrong. Please try the "fixed" setting and force a samplerate of 48000 for a test.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #6
I have retested with the suggested sample rate and the problem is still there, I've also noticed that this issue is present when trying to view video files too. I have linked a debug log where I started playing a music video with the built in output, both the picture and audio were fine, when I changed the audio output to the Saffire Pro 40 interface the sound sped up and the audio quality dropped, also the pictures started to play faster - as if everything was on fast forward.

http://pastebin.com/N6HGXBEa
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #7
Hey guys, can I get some help with this please.
find quote
Memphiz Offline
I hate users
Posts: 12,983
Joined: Feb 2011
Reputation: 131
Location: germany
Post: #8
did you try some other samplerates aswell? (44100 or 96000 or something) - is there any fixed samplerate that makes it sound normal on this device?

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #9
Hi Memphiz, I have tried all possible sample rate options and output configurations possible with this interface, as well as trying all the different resample quality options and nothing has worked so far.
find quote
Memphiz Offline
I hate users
Posts: 12,983
Joined: Feb 2011
Reputation: 131
Location: germany
Post: #10
any possiblilty to borrow that device to me?

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #11
i would let you borrow it, but I am in the uk and it looks like you are in germany
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #12
I have just tried the 14.0 Helix rc-1 and the problem persists.

I have also contacted Focusrite Support in case the problem lies with the interface.
find quote
Memphiz Offline
I hate users
Posts: 12,983
Joined: Feb 2011
Reputation: 131
Location: germany
Post: #13
Well of course it persists. It won't get fixed until i get my hands on the hardware Wink - most problems are those expensive studio sound devices (which i suppose yours is one of those too?). Don't expect it to be fixed for helix (release is around the corner). Thats why i asked if you could borrow it to me Wink

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
find quote
TheStreamer Offline
Junior Member
Posts: 9
Joined: Nov 2014
Reputation: 0
Post: #14
Ok, you are correct, the Saffire Pro 40 is a studio sound device.

It would be logistically difficult to get my unit to you, as well as the fact that I use it on a daily basis for other things not just playing back music files.

I don't know if it's feasible for you to liaise with Focusrite about finding a solution to this? They have been able to replicate the problem which sounds like a sample rate mismatch but as XBMC is unsupported it is not part of their normal testing process.

I do hope there is a way to get this figured out, as XBMC would be a very useful tool to me if I was able to play back music files correctly.
find quote