What about using a sound daemon, such as artsd? you can start artsd,
then run xmms with it's output set to arts (install xmmsarts first!).
Artsd may prevent this end-of-song problem, because you can tell it to
not release the soundcard between songs (set the -s flag to a high
value). Thus the soundcard remains 'open'. 
An advantage to using a sound daemon is that many programs can access
the daemon simultaneously (unlike OSS drivers for my i810 audio). 

On Tue, 2003-08-12 at 11:12, Matt Elder wrote:
> Problem:
> 
> I am having trouble setting up my VIA soundcard. Whenever I attempt to 
> play a sound file, I either get massive skipping, skipping at the end of 
> the file, or no sound at all. I think this has something to do with the 
> sound card's buffer - perhaps it's not getting flushed properly, but 
> that's just a guess.
> 
> I have tried using both the VIA82cxxx sound module that comes with the 
> Linux kernel, and the ALSA snd-via82xx driver.  This is my story.
> 
> With the kernel-native driver, I get no sound whatsoever.  Even if I 
> execeute 'cat /bin/bash > /dev/dsp', I get no sound.  From reading 
> around online, my understanding is that this sound driver doesn't work 
> well with my chipset, so I haven't messed with it much.
> 
> With the ALSA driver, I had somewhat better success.
> Using XMMS (with the OSS plugin), I can skip between songs without 
> trouble, but if a song reaches its end, it skips on the last bit, 
> playing repeatedly and hanging XMMS until it decides to quit (about six 
> or seven repeats, usually). If I use the ALSA plugin, XMMS hangs at the 
> end of a song or at any attempt to change songs.  Using mpg321, every 
> buffer-full of any song skips.  When playing short sounds from any other 
> user program (gaim, koules, etc...), The whole sound will skip
> 
> Anyone have any ideas about how I can deal with this?
> 
> Thanks,
> - Matt Elder
> 
> Configuration:
> I have an onboard VIA 8233 AC97 soundcard. I'm running the testing 
> version of Debian, on top of a manually compiled kernel-2.4.21.
> 
> With Alsa:
> 
> /etc/modules:
> usb-uhci
> input
> keybdev
> mousedev
> joydev
> parport
> parport_pc
> hid
> soundcore
> snd-via82xx
> nvidia
> bcm4400
> 
> Relevant part of /etc/modules.conf:
> ### update-modules: start processing /etc/modutils/alsa
> ### DEBCONF MAGIC
> # This file was automatically generated by alsa-base's debconf stuff
> 
> # --- BEGIN: Generated by ALSACONF, do not edit. ---
> # --- ALSACONF verion 0.9.0 ---
> alias char-major-116 snd
> alias snd-card-0 snd-via82xx
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
> options snd major=116 cards_limit=1
> options snd-via82xx index=0
> # --- END: Generated by ALSACONF, do not edit. ---
> 
> ### update-modules: end processing /etc/modutils/alsa
-- 
Damien Solley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to