At Wed, 06 Sep 2006 15:17:20 +0200,
Dominique Dumont wrote:
> 
> Dominique Dumont <[EMAIL PROTECTED]> writes:
> 
> > So far, I've noticed that:
> > - Playing ac3 while loading PATA drive (same commands) works perfectly
> > - Playing PCM (with mplayer) on spdif while loading SATA leads to high
> >   frequency noises (like a constinuous scritch-scritch)
> 
> I've just tried the spdif output of my motherboard (a7n8x deluxe) with
> snd_intel8x0 driver.
> 
> While using SATA (still with md5sum) the PCM output works fine. 
> 
> I cannot test snd_intel8x0 ac3 output because of bug 411 [1].
> But DTS output is working fine also.
> 
> I also tried (just to compare), DTS output (still with md5sum running
> on sata device) with snd_emu10k1 driver and it fails: the dts light on
> my amp switches on and off constinuously.
> 
> So the problem seems to be specific to snd_emu10k1 driver.

Does the patch below have any influence?
The patch was necessary to run a52 plugin on emu10k1 on my test
system.


Takashi

diff -r f81fd8f8f24c pci/emu10k1/emupcm.c
--- a/pci/emu10k1/emupcm.c      Thu Apr 13 12:58:06 2006 +0200
+++ b/pci/emu10k1/emupcm.c      Tue Apr 18 12:49:37 2006 +0200
@@ -1641,6 +1641,10 @@ static int snd_emu10k1_fx8010_playback_o
        runtime->hw = snd_emu10k1_fx8010_playback;
        runtime->hw.channels_min = runtime->hw.channels_max = pcm->channels;
        runtime->hw.period_bytes_max = (pcm->buffer_size * 2) / 2;
+       /* we need to fill the whole buffer */
+       snd_pcm_hw_constraint_minmax(runtime, SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
+                                    pcm->buffer_size * 2,
+                                    pcm->buffer_size * 2);
        spin_lock_irq(&emu->reg_lock);
        if (pcm->valid == 0) {
                spin_unlock_irq(&emu->reg_lock);

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to