Date: Wed, 06 Sep 2000 14:12:57 -0700 From: Lars Eggert <larse@ISI.EDU> To: Orion Hodson <O.Hodson@cs.ucl.ac.uk> Cc: rat-users@cs.ucl.ac.uk, multimedia@FreeBSD.ORG Subject: Re: FreeBSD-4.1-STABLE & rat-4.2.9 Message-ID: <39B6B359.2177773D@isi.edu> References: <17547.968274120@cs.ucl.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Orion Hodson wrote:
> 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.
This is what I see after applying the patch (I omitted some of the "Error
writing device.: Device not configured" lines (...) to make the log
shorter:
[larse@hbo: ~/projects/rat/rat] ./rat-4.2.9 localhost/7777
11445:mbus_config.c:656 using Addr:224.255.222.239 Port:47000
Scope:HOSTLOCAL for MBUS
11446:main_ui.c:104 rat-ui started argc=5
11446:mbus_config.c:656 using Addr:224.255.222.239 Port:47000
Scope:HOSTLOCAL for MBUS
11446:main_ui.c:118 Waiting for mbus.waiting(rat-token-649d26f6) from
controller...
11446:main_ui.c:120 11445:main_control.c:502 Waiting for rat-token-23f077df
from media engine...
...got it
11446:main_ui.c:126 Waiting for mbus.go(rat-token-649d26f6) from
controller...
11447:main_engine.c:88 token[0] = rat-token-23f077df
11447:auddev_luigi.c:555 dev (0) name (CS461x PCM Audio)
11447:auddev_luigi.c:567 Audio driver is newpcm
11447:auddev_trans.c:107 Cannot open transcoder audio device: not a
transcoder
11447:auddev.c:1169 Added "CS461x PCM Audio" to audio device table
11447:auddev.c:1169 Added "No Audio Device" to audio device table
11447:channel.c:204 Created encoder: "None"
11447:audio.c:235 Change device requested.
11447:auddev.c:549 Opened device: No Audio Device
11447:auddev.c:579 Input: 16-bit signed linear,8-kHz,Mono
11447:auddev.c:590 Output: 16-bit signed linear,8-kHz,Mono
11447:transmit.c:165 Unit duration 160 channels 1
11447:mix.c:106 Mixer created. Aligned to 0 8000kHz
11447:audio.c:296 0x00000000 0x00000201
11447:mbus_config.c:656 using Addr:224.255.222.239 Port:47000
Scope:HOSTLOCAL for MBUS
11447:main_engine.c:138 Need mbus.waiting(rat-token-23f077df) from
controller...
11447:main_engine.c:153 Sending mbus.go(rat-token-23f077df) to
controller...
11447:main_engine.c:158 Got all needed mbus.waiting() messages from
controller
11447:main_engine.c:174 Sent all mbus.go() messages to controller
11447:main_engine.c:179 Need mbus.go("rat-token-23f077df") from
controller...
11445:main_control.c:504 ...got it
11447:rtp.c:551 Created database entry for ssrc 0x66fb1a2e
11446:main_ui.c:128 11445:main_control.c:509 User interface is (media:audio
module:ui app:rat id:11445)
...got it
11446:main_ui.c:131 Waiting for mbus.waiting(rat-ui-requested) from media
engine...
11447:mbus_engine.c:1506 Got required mbus.go(rat-token-23f077df)
11447:main_engine.c:197 Got all needed mbus.go() messages from controller
11447:audio.c:235 Change device requested.
11447:audio.c:250 Change primary requested.
11447:mix.c:121 Mixer destroyed. Head 0 8000kHz Tail 0 8000kHz
11447:auddev_luigi.c:82 Opening /dev/audio0
11447:auddev_luigi.c:90 soundcaps[0].rate_min = 11025
11447:auddev_luigi.c:91 soundcaps[0].rate_max = 48000
11447:auddev_luigi.c:92 soundcaps[0].formats = 0x90000010
11447:auddev_luigi.c:93 soundcaps[0].bufsize = 65536
11447:auddev_luigi.c:94 soundcaps[0].mixers = 0x00000001
11447:auddev_luigi.c:95 soundcaps[0].inputs = 0x004049f1
11447:auddev_luigi.c:96 soundcaps[0].left = 0x0064
11447:auddev_luigi.c:97 soundcaps[0].right = 0x0064
11447:auddev_luigi.c:164 rec size 320, play size 320 bytes
11447:auddev_luigi.c:200 Failed MIXER_WRITE(SOUND_MIXER_IMIX)
11447:auddev.c:549 Opened device: CS461x PCM Audio
11447:auddev.c:579 Input: 16-bit signed linear,16-kHz,Mono
11447:auddev.c:590 Output: 16-bit signed linear,16-kHz,Mono
11447:transmit.c:165 Unit duration 160 channels 1
11447:mix.c:106 Mixer created. Aligned to 0 16000kHz
11447:audio.c:296 0x00000201 0x00000101
11447:auddev_luigi.c:360 Failed MIXER_WRITE(SOUND_MIXER_IMIX)
11447:channel.c:204 Created encoder: "None"
11447:auddev_luigi.c:360 Failed MIXER_WRITE(SOUND_MIXER_IMIX)
11447:settings.c:438 gecos Lars Eggert,707,(310) 448-9185,(310) 827-3569
name larse
11447:settings.c:478 username Lars Eggert Lars Eggert
11447:audio.c:482 Increasing cushion.
11445:main_control.c:512 Media engine 0 is (media:audio module:engine
app:rat session:0 id:11445)
11445:main_control.c:514 Parsing options
11445:main_control.c:518 Entering main loop
Error writing device.: Device not configured
...
Error writing device.: Device not configured
11447:audio.c:482 Increasing cushion.
11446:main_ui.c:144 ...got it
Error writing device.: Device not configured
11447:mbus_engine.c:1484 Got mbus.waiting(rat-ui-requested)
11447:auddev_luigi.c:530 Device error!Error writing device.: Device not
configured
Error writing device.: Device not configured
...
Error writing device.: Device not configured
11446:main_ui.c:184 Waiting for tool.rat.ui.detach() from media engine...
Error writing device.: Device not configured
11446:main_ui.c:193 ...got it
11445:mbus_control.c:55 Got quit (media:audio module:ui app:rat id:11445)
11446:main_ui.c:209 Waiting for mbus.quit() from controller...
Error writing device.: Device not configured
...
Error writing device.: Device not configured
11445:main_control.c:292 Sending mbus.quit() to (media:audio module:ui
app:rat id:11445)...
11446:mbus_ui.c:82 Got mbus.quit() from (media:audio module:control app:rat
id:11445)
11446:main_ui.c:218 ...got it
Error writing device.: Device not configured
11445:main_control.c:303 ...done
11445:main_control.c:292 Sending mbus.quit() to (media:audio module:engine
app:rat session:0 id:11445)...
11446:main_ui.c:242 User interface exit
11445:main_control.c:328 Caught signal SIGCHLD: 20
Error writing device.: Device not configured
11447:mbus_engine.c:1459 Media engine got mbus.quit()
11445:main_control.c:303 ...done
11445:process.c:93 Process already dead
11445:process.c:93 Process already dead
11445:main_control.c:551 Controller exit
11447:mix.c:121 Mixer destroyed. Head 120864 16000kHz Tail 120864 16000kHz
11447:auddev_luigi.c:248 audio drain: 640 -> 640
11447:auddev.c:1183 audio_free_interfaces 4
11447:auddev.c:1185 0x0
11447:auddev.c:1185 0x0
11447:auddev.c:1185 0x0
11447:auddev.c:1185 0x0
11447:pdb.c:201 Removing persistent database entry for SSRC 0x66fb1a2e
11447:main_engine.c:497 Media engine exit
Lars
--
Lars Eggert <larse@isi.edu> Information Sciences Institute
http://www.isi.edu/larse/ University of Southern California
[-- Attachment #2 --]
0# *H
010 + 0 *H
00A#0
*H
010 UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.160
000824203008Z
010824203008Z0T10
UEggert1
0U*Lars10ULars Eggert10 *H
larse@isi.edu00
*H
0 \p9 H;vr∩6"C?mxfJf7I[3CF́L I
- zHRVA怤2]0-bL)%X>nӅ w0u0*+e!0 00L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U0 0U#0`fUXFa#Ì0
*H
_3 F=%nWY-HXD9UOc6ܰwf@uܶNԄR?Pr}E1֮23mFhySwM_h|d yR=$P 00}0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
990916140140Z
010915140140Z010 UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.1600
*H
0 iZz]!#rLK~r$BRW{azr98e^eyvL>hput ,O 1ArƦ]D.Mօ>lx~@эWs0FO 7050U0 0U#0rIs4Uvr~wƲ0
*H
kY1rr`HU{gapm¥7؝(V\uoƑlfq|ko!6- -mƃRt\~
orzg,ks nΝc) ~U100010 UZA10UWestern Cape10UDurbanville10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 1999.9.16#0 + 0 *H
1 *H
0 *H
1
000906211257Z0# *H
1z`)E<Š%M?ܟ%-0R *H
1E0C0
*H
0*H
0+0
*H
@0
*H
(0
*H
tl\[>