XBMC Community Forum  

Go Back   XBMC Community Forum > Help and Support > XBMC General Help and Support > XBMC for Windows Specific Support

XBMC for Windows Specific Support Need help with XBMC for Windows, or think you've found a bug? Discuss it here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2008-03-20, 07:23   #1
Simlaf
Junior Member
 
Join Date: Mar 2008
Posts: 2
Simlaf is on a distinguished road
Default Problems with analog audio

Hi guys,

I just installed XBMC on Vista SP1. I don't have a digital connection for audio, I use analog to my logitech Z5500.

Whenever I watch a movie in stereo, it works fine, but if I watch something with AC3, then only the stereo speakers and my left rear speaker works. If I watch something that's encode with DTS, then I get a loud hissing sound from all the speakers. It almost sounds like I don't have the proper codecs for ac3 or DTS, yet I can watch the same file in VMC or WMP.

Any ideas?

Also, I have an ATI 2600 Pro, when I'm going through the menu, it loads up my GPU to almost 100%. As soon as I start a movie it goes back down to nomal, but I'm wondering if there's something wrong with my setup.

I'm so GLAD to be back with XBMC! It's by far the best Media center I've ever had!.

Simon
Simlaf is offline   Reply With Quote
Old 2008-03-21, 06:28   #2
feerlessleadr
Member
 
Join Date: Oct 2007
Posts: 97
feerlessleadr is on a distinguished road
Default

i too had that problem when i tried to watch a 1080p video with DTS

at least i had zero frame drops in the short time that i was watching the movie
feerlessleadr is offline   Reply With Quote
Old 2008-03-30, 18:35   #3
biddy
Junior Member
 
Join Date: Mar 2008
Posts: 11
biddy is on a distinguished road
Default

I too have a weird problem with analogue audio. For some strange reason, the center channel on 5.1 stuff is shifted to my rear right speaker. If I play the same films within windows (vlc or mpc) the sound is correctly played through the front center.

Has anyone else had this or know of any reason this could be happening?

For information, I am using the onboard analogue outputs from my MSI P6NGM mothrerboard which is the Nvidia MCP73 chipset with the Realtek HD ALC888 Chip.

I am presuming I've got everything set up ok as Windows itself works.

And I am using the newest build posted here (12332)

Apart from that everything else is superb. Much appreciate the work by the developers here. Finally my pc can (almost) be as good as my XBOX!
biddy is offline   Reply With Quote
Old 2008-03-30, 19:03   #4
CrazyIvan
Member
 
Join Date: Dec 2004
Posts: 91
CrazyIvan is on a distinguished road
Default

How do you get 5.1 over analog? What connector would you use on your soundcard/motherboard for this?
__________________
cheers,

crazyivan
CrazyIvan is offline   Reply With Quote
Old 2008-03-30, 19:59   #5
biddy
Junior Member
 
Join Date: Mar 2008
Posts: 11
biddy is on a distinguished road
Default

You use the jack connectors on the motherboard. You hook up 3 of them, 1 for front left and right, one for the rears and one for center and sub. These then go into the phono sockets for 5.1 sound on the amplifier.

As I say, these work perfectly in Media player, VLC and MPC in windows and most work ok in XBMC apart from the center which is strangely shifted.
biddy is offline   Reply With Quote
Old 2008-04-07, 10:26   #6
Bartapuce
Junior Member
 
Join Date: Apr 2008
Posts: 1
Bartapuce is on a distinguished road
Default

Same problem described by Biddy here.

Tested with 12332 and 12409 and T3CH 23/03.

Thanks for your work.
Bartapuce is offline   Reply With Quote
Old 2008-04-07, 23:06   #7
biddy
Junior Member
 
Join Date: Mar 2008
Posts: 11
biddy is on a distinguished road
Default

I ended up just swapping the Center/Sub and the Rear left/ right cables on the Amp and all is good. Obviously this messes up Windows though but XBMC is great.
biddy is offline   Reply With Quote
Old 2008-04-07, 23:47   #8
WiSo
Team-XBMC Developer
 
Join Date: Oct 2003
Location: Germany
Posts: 1,773
WiSo is on a distinguished road
Default

the config is taken from mplayer
Code:
[if channels > 2]
SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_RIGHT  | SPEAKER_LOW_FREQUENCY,
    SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_RIGHT  | SPEAKER_BACK_LEFT    | SPEAKER_BACK_RIGHT,
    SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_RIGHT  | SPEAKER_BACK_LEFT    | SPEAKER_BACK_RIGHT   | SPEAKER_LOW_FREQUENCY,
    SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_CENTER | SPEAKER_FRONT_RIGHT  | SPEAKER_BACK_LEFT    | SPEAKER_BACK_RIGHT     | SPEAKER_LOW_FREQUENCY
Don't know why you have swapped channels.
__________________
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.
WiSo is offline   Reply With Quote
Old 2008-04-13, 12:01   #9
biddy
Junior Member
 
Join Date: Mar 2008
Posts: 11
biddy is on a distinguished road
Default

OK, I've been trying to play with this to see if I can fool the channels into swapping inside XBMC but no luck.

I can't find the code as you state so I presume it's changed slightly, the only place I could find it was in Win32DirectSound.cpp as:-
Code:
  const int channel_mask[] = 
  {
    SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_RIGHT  | SPEAKER_LOW_FREQUENCY,
    SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_RIGHT  | SPEAKER_BACK_LEFT    | SPEAKER_BACK_RIGHT,
    SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_RIGHT  | SPEAKER_BACK_LEFT    | SPEAKER_BACK_RIGHT   | SPEAKER_LOW_FREQUENCY,
    SPEAKER_FRONT_LEFT   | SPEAKER_FRONT_CENTER | SPEAKER_FRONT_RIGHT  | SPEAKER_BACK_LEFT    | SPEAKER_BACK_RIGHT     | SPEAKER_LOW_FREQUENCY
  };
Now I've tried to move them around to see if it's the placement that it's getting wrong but to no avail.

I also see in the log that Analogue audio is not passed through:-
09:43:32 T:3460 M:644235264 NOTICE: Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through

Is there any way to make this pass through so windows can deal with the audio and not XBMC? Or am I barking up completely the wrong tree with all of this?
biddy is offline   Reply With Quote
Old 2008-04-13, 22:56   #10
WiSo
Team-XBMC Developer
 
Join Date: Oct 2003
Location: Germany
Posts: 1,773
WiSo is on a distinguished road
Default

I'm really no expert in this but I doubt that analog needs pass through
Win32DirectSound.cpp is the right place to look in and the code in the constructor is mor or less taken from mplayer so I'm lost here on how to proceed since I can't test it either.
It would be great if you could find something.
__________________
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.
WiSo is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:51.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project