Skip site navigation (1)Skip section navigation (2)
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
This is a cryptographically signed message in MIME format.

--------------msD5E4BAFAC08367C2F7D34463
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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
--------------msD5E4BAFAC08367C2F7D34463
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIIIIwYJKoZIhvcNAQcCoIIIFDCCCBACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BfQwggLYMIICQaADAgECAgMDIwUwDQYJKoZIhvcNAQEEBQAwgZQxCzAJBgNVBAYTAlpBMRUw
EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMQ8wDQYDVQQKEwZU
aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25h
bCBGcmVlbWFpbCBSU0EgMTk5OS45LjE2MB4XDTAwMDgyNDIwMzAwOFoXDTAxMDgyNDIwMzAw
OFowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQ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IhvcNAwcwDgYI
KoZIhvcNAwICAgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0G
CSqGSIb3DQEBAQUABIGAdGyrXFuTGj4ADmsN63j45qiHAXyR/UbaeVigYAkw/TOeW/Gc2kU1
VDju4V5dX20SsLE9ATnqcuPjHI/jg7Id/CGVet+tiAsadwHfbjYyS+rzj+t/EQQi8k4ME6wb
Q+zt2Arw4MHToGT+pejICdAXwa16QLW7ceQ5uqoItOuahH0=
--------------msD5E4BAFAC08367C2F7D34463--



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?39B6B359.2177773D>