From: James Courtier-D. <Ja...@su...> - 2001-11-13 13:39:24
|
OK. OK. I have had enough complaints about this now. :-( Basically the alsa 09 API changed, making the current passthrough code in xine not work with SB Live. I will fix it in the next couple of days. I cannot actually test it, but at least the device will open. Your .xinerc settings are correct. In the mean time, try the emu10k1 driver from http://opensource.creative.com/ Then once installed, go into the playac3 directory, and do make load. That sets the emu10k1 into passthru mode, then xine will work. Cheers James P.S. Not all SB Live cards work. E.G. Mine does not work with alsa 09, but does work with the kernel emu10k1 driver. -----Original Message----- From: xin...@li... [mailto:xin...@li...]On Behalf Of ntlWorld Sent: 13 November 2001 01:26 To: xin...@li... Subject: [xine-user] Alsa0.9Beta9 / SpDif / Xine Okay, I've given up and gone to bed now but here's where I'm at : I got the latest Xine 0.9.4, DVDNav, Alsa 0.9 Beta 9 and drivers for my SBLive. Compiled all with no problems. Xine works beautifully ! : o ) I have been trying to enable the passthrough option in Xine to pass the raw PCM / DD / DTS through to my DSP Amp. I've configured my card using the alsa drivers and now everything else in Linux that I use can output via my digital out on the SBLive to my amp : (modules.conf) # ALSA BIT alias char-major-14 soundcore alias sound-slot-0 snd-card-emu10k1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-12 snd-pcm-oss options snd-card-emu10k1 snd_extin=0x0003 snd_extout=0x1f0f # END ALSA BIT I turned on a52_pass_through in .xinerc : # # xine config file # demux_strategy:0 layer_above:1 skin:xinetic use_xvidext:1 panel_x:211 panel_y:655 panel_visible:1 xine_debug:0 XV_COLORKEY:30 deinterlace_method:4 video_driver_name:Xv alsa_default_device:default alsa_front_device:default alsa_surround40_device:surround40 alsa_surround50_device:surround51 alsa_surround51_device:surround51 alsa_a52_device:iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 four_channel:0 five_channel:0 five_lfe_channel:1 a52_pass_through:1 mixer_name:PCM audio_driver_name:alsa09 fast_memcpy:3 dvd_device:/dev/dvd dvd_raw_device:/dev/rdvd vcd_device:/dev/cdrom a52_level:100 a52_dynrng:0 a52_surround_downmix:0 win32_path:/usr/lib/win32 divx4_libdivxdecore:libdivxdecore.so audio_resample_mode:0 mixer_volume:0 x_mrl_browser:180 y_mrl_browser:131 When I try to play a DVD with this enabled I get the following output : <snip> XF86VidMode Extension (2.1) detected, trying to use it. XF86VidMode Extension: 1 modelines found. video_out_xv: using Xv port 74 from adaptor 3dfx Video Overlay for hardware colorspace conversion and scaling. video_out_xv: colorkey is 0000001e video_out_xv: this adaptor supports the yuy2 format. video_out_xv: this adaptor supports the yv12 format. load_plugins: video output plugin Xv successfully loaded. audio_alsa_out: capabilities 0x4F load_plugins: audio output plugin alsa09 successfully loaded. <snip> audio decoder plugin found : a/52dec video decoder plugin found : ffmpeg video decoder audio decoder plugin found : lpcm video decoder plugin found : vfw (win32) video decoder audio decoder plugin found : vfw (win32) audio decoder audio decoder plugin found : mad audio decoder plugin found : dts video decoder plugin found : videofill <snip> audio_loop: using decoder >a/52dec< audio_alsa_out: Audio Device name = iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 audio_alsa_out: Number of channels = 2 audio_alsa_out: device: 3, subdevice: 0 hw:0 audio_alsa_out: unable to update the IEC958 control: No such file or directoryaudio_out: open failed! audio_alsa_out: Audio Device name = iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 audio_alsa_out: Number of channels = 2 audio_alsa_out: device: 3, subdevice: 0 hw:0 <snip> The last section continues to cycle itself as you'd expect and no sound is heard. I have been playing around with the audio_alsa_out.c file to try and sort this out but to no avail and with the alsa drivers. Any help/advice would be much appreciated. Any ideas ? Andy |