Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2000 22:02:00 +0100
From:      Orion Hodson <O.Hodson@cs.ucl.ac.uk>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        rat-users@cs.ucl.ac.uk, multimedia@FreeBSD.ORG
Subject:   Re: FreeBSD-4.1-STABLE & rat-4.2.9
Message-ID:  <17547.968274120@cs.ucl.ac.uk>
In-Reply-To: Your message of "Wed, 06 Sep 2000 13:09:02 PDT." <39B6A45E.406D2A33@isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
<39B6A45E.406D2A33@isi.edu>Lars Eggert writes:
> This is a cryptographically signed message in MIME format.
> 
> --------------ms42444982BA092A0F93654E8D
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Sorry for the confusion. I just realized that the rat log I sent in my
> previous mail was taken when another rat was already running (thus the
> message about not being able to open /dev/audio0). The log below is what I
> wanted to send. Rat still doesn't work, due to a mixer problem, it seems:

I don't think this relates to the mixer - I get the same mixer error
and it runs fine.  The mixer error is due to a difference in the mixer
api that I haven't gotten around to resolving - I've been busy
elsewhere for the past while.  I'll look into it this now, it can't be
very hard to fix.

This error looks to coincide with the write buffer going dry.  Can you
try changing RAT's minimum cushion size (target output device buffer
occupancy):

--- cushion.c.orig      Wed Sep  6 21:54:12 2000
+++ cushion.c   Wed Sep  6 21:54:27 2000
@@ -34,3 +34,3 @@
 #define CUSHION_MAX_MS  500
-#define CUSHION_MIN_MS  40
+#define CUSHION_MIN_MS  400
 #define CUSHION_STEP_MS  10

This will destroy interactivity, but it'll clarify the problem some
more.  Please let me know how this turns out.

Kind Regards
- Orion.

> 7507:audio.c:296 0x00000201 0x00000101
> 7507:auddev_luigi.c:360 Failed MIXER_WRITE(SOUND_MIXER_IMIX)
> 7507:channel.c:204 Created encoder: "None"
> 7507:auddev_luigi.c:360 Failed MIXER_WRITE(SOUND_MIXER_IMIX)
> 7507:settings.c:438 gecos Lars Eggert,707,(310) 448-9185,(310) 827-3569
> name larse
> 7507:settings.c:478 username Lars Eggert Lars Eggert
> 7507:audio.c:426 catch up! read_dur(1344) > cushion_size(1120)
> 7507:mix.c:389 Getting new cushion 1600 old 1120
> 7507:audio.c:467 Decreasing cushion
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> 7506:main_ui.c:144 ...got it
> Error writing device.: Device not configured
> 7507:mbus_engine.c:1484 Got mbus.waiting(rat-ui-requested)
> 7507:auddev_luigi.c:530 Device error!Error writing device.: Device not
> configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> 7507:audio.c:426 catch up! read_dur(1984) > cushion_size(1440)
> 7507:mix.c:389 Getting new cushion 1760 old 1440
> Error writing device.: Device not configured
> 7507:audio.c:467 Decreasing cushion
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> Error writing device.: Device not configured
> ^C7507:main_engine.c:66 Caught signal 2
> 7505:main_control.c:328 Caught signal SIGCHLD: 20
> 7505:main_control.c:317 Caught signal 2
> 7505:process.c:96 Killing process 7506
> 7505:process.c:96 Killing process 7507
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17547.968274120>