Re: [ecasound] Delay with SB Live

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] Delay with SB Live
From: Rui Sousa (rsousa@grad.physics.sunysb.edu)
Date: Fri Mar 10 2000 - 06:27:22 EET


>On Mon, 6 Mar 2000, Remco Poelstra wrote:
>
>> It's quite a long time ago, that I mailed about a delay in ecasound,
>> even with -b:64.
>[...]
>> Finally, after a lot of troubles, I've installed the alsa driver.
>> Now ecasound gives almost no delay with -b:128.
>> I hope this will be usefull to users of the SB Live card, which also
>> experiences delay problems.
>
>Ah, this is indeed interesting. So in the end, the delay really was
>caused by the OSS driver. I bet ALSA developers will be pleased to hear
>about this. ;)

The OSS SBLive it's not perfect but you also have a buglet in ecasound,
please apply the following patch. It was incorrectly detecting the triggering
capability which is determinant for recording/playback synchronization.

--- audioio-oss.cpp Fri Jan 28 05:15:53 2000
+++ audioio-oss.cpp.new Thu Mar 9 23:22:21 2000
@@ -74,7 +74,7 @@
   // Set triggering
 
 #ifndef DISABLE_OSS_TRIGGER
- if (oss_caps & DSP_CAP_TRIGGER == DSP_CAP_TRIGGER) {
+ if ((oss_caps & DSP_CAP_TRIGGER) == DSP_CAP_TRIGGER) {
     if (io_mode() == si_read) {
       int enable_bits = ~PCM_ENABLE_INPUT; // This disables recording
       if (ioctl(audio_fd, SNDCTL_DSP_SETTRIGGER, &enable_bits) == -1)

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2a24 : Fri Mar 10 2000 - 06:29:35 EET