diff options
author | Sean Bright <sean@malleable.com> | 2009-05-28 14:32:03 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2009-05-28 14:32:03 +0000 |
commit | a7d813cae7568f9c587dc994b0654d9b7384565a (patch) | |
tree | f290e7e7ae143382811fc8ff32a52618ae0801bf /configs/oss.conf.sample | |
parent | 318929b75fbc9b015b8768f83f0bad57ca410ba9 (diff) |
Remove a bunch of trailing whitespace in preparation for reformatting/cleanup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/oss.conf.sample')
-rw-r--r-- | configs/oss.conf.sample | 212 |
1 files changed, 106 insertions, 106 deletions
diff --git a/configs/oss.conf.sample b/configs/oss.conf.sample index 48f0ced90..f0ed94ea6 100644 --- a/configs/oss.conf.sample +++ b/configs/oss.conf.sample @@ -3,75 +3,75 @@ ; [general] - ; General config options, with default values shown. - ; You should use one section per device, with [general] being used - ; for the first device and also as a template for other devices. - ; - ; All but 'debug' can go also in the device-specific sections. - ; - ; debug = 0x0 ; misc debug flags, default is 0 - - ; Set the device to use for I/O - ; device = /dev/dsp - - ; Optional mixer command to run upon startup (e.g. to set - ; volume levels, mutes, etc. - ; mixer = - - ; Software mic volume booster (or attenuator), useful for sound - ; cards or microphones with poor sensitivity. The volume level - ; is in dB, ranging from -20.0 to +20.0 - ; boost = n ; mic volume boost in dB - - ; Set the callerid for outgoing calls - ; callerid = John Doe <555-1234> - - ; autoanswer = no ; no autoanswer on call - ; autohangup = yes ; hangup when other party closes - ; extension = s ; default extension to call - ; context = default ; default context for outgoing calls - ; language = "" ; default language - - ; If you set overridecontext to 'yes', then the whole dial string - ; will be interpreted as an extension, which is extremely useful - ; to dial SIP, IAX and other extensions which use the '@' character. - ; The default is 'no' just for backward compatibility, but the - ; suggestion is to change it. - ; overridecontext = no ; if 'no', the last @ will start the context - ; if 'yes' the whole string is an extension. - - ; low level device parameters in case you have problems with the - ; device driver on your operating system. You should not touch these - ; unless you know what you are doing. - ; queuesize = 10 ; frames in device driver - ; frags = 8 ; argument to SETFRAGMENT - - ;------------------------------ JITTER BUFFER CONFIGURATION -------------------------- - ; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of an - ; OSS channel. Defaults to "no". An enabled jitterbuffer will - ; be used only if the sending side can create and the receiving - ; side can not accept jitter. The OSS channel can't accept jitter, - ; thus an enabled jitterbuffer on the receive OSS side will always - ; be used if the sending side can create jitter. - - ; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds. - - ; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is - ; resynchronized. Useful to improve the quality of the voice, with - ; big jumps in/broken timestamps, usually sent from exotic devices - ; and programs. Defaults to 1000. - - ; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of an OSS - ; channel. Two implementations are currently available - "fixed" - ; (with size always equals to jbmax-size) and "adaptive" (with - ; variable size, actually the new jb of IAX2). Defaults to fixed. - - ; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". - ;----------------------------------------------------------------------------------- +; General config options, with default values shown. +; You should use one section per device, with [general] being used +; for the first device and also as a template for other devices. +; +; All but 'debug' can go also in the device-specific sections. +; +; debug = 0x0 ; misc debug flags, default is 0 + +; Set the device to use for I/O +; device = /dev/dsp + +; Optional mixer command to run upon startup (e.g. to set +; volume levels, mutes, etc. +; mixer = + +; Software mic volume booster (or attenuator), useful for sound +; cards or microphones with poor sensitivity. The volume level +; is in dB, ranging from -20.0 to +20.0 +; boost = n ; mic volume boost in dB + +; Set the callerid for outgoing calls +; callerid = John Doe <555-1234> + +; autoanswer = no ; no autoanswer on call +; autohangup = yes ; hangup when other party closes +; extension = s ; default extension to call +; context = default ; default context for outgoing calls +; language = "" ; default language + +; If you set overridecontext to 'yes', then the whole dial string +; will be interpreted as an extension, which is extremely useful +; to dial SIP, IAX and other extensions which use the '@' character. +; The default is 'no' just for backward compatibility, but the +; suggestion is to change it. +; overridecontext = no ; if 'no', the last @ will start the context +; if 'yes' the whole string is an extension. + +; low level device parameters in case you have problems with the +; device driver on your operating system. You should not touch these +; unless you know what you are doing. +; queuesize = 10 ; frames in device driver +; frags = 8 ; argument to SETFRAGMENT + +;------------------------------ JITTER BUFFER CONFIGURATION -------------------------- +; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of an +; OSS channel. Defaults to "no". An enabled jitterbuffer will +; be used only if the sending side can create and the receiving +; side can not accept jitter. The OSS channel can't accept jitter, +; thus an enabled jitterbuffer on the receive OSS side will always +; be used if the sending side can create jitter. + +; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds. + +; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is +; resynchronized. Useful to improve the quality of the voice, with +; big jumps in/broken timestamps, usually sent from exotic devices +; and programs. Defaults to 1000. + +; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of an OSS +; channel. Two implementations are currently available - "fixed" +; (with size always equals to jbmax-size) and "adaptive" (with +; variable size, actually the new jb of IAX2). Defaults to fixed. + +; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no". +;----------------------------------------------------------------------------------- ; below is an entry for a second console channel ; [card1] - ; device = /dev/dsp1 ; alternate device +; device = /dev/dsp1 ; alternate device ; Below are the settings to support video. You can include them ; in your general configuration as [general](+,video) @@ -79,26 +79,26 @@ ; Section names used here are only examples. [my_video](!) ; you can just include in your config - videodevice = /dev/video0 ; uses your V4L webcam as video source - videodevice = X11 ; X11 grabber. Dragging on the local display moves the origin. - videocodec = h263 ; also h261, h263p, h264, mpeg4, ... - - ; video_size is the geometry used by the encoder. - ; Depending on the codec your choice is restricted. - video_size = 352x288 ; the format WIDTHxHEIGHT is also ok - video_size = cif ; sqcif, qcif, cif, qvga, vga, ... - - ; You can also set the geometry used for the camera, local display and remote display. - ; The local window is on the right, the remote window is on the left. - ; Right clicking with the mouse on a video window increases the size, - ; center-clicking reduces the size. - camera_size = cif - remote_size = cif - local_size = qcif - - bitrate = 60000 ; rate told to ffmpeg. - fps = 5 ; frames per second from the source. - ; qmin = 3 ; quantizer value passed to the encoder. +videodevice = /dev/video0 ; uses your V4L webcam as video source +videodevice = X11 ; X11 grabber. Dragging on the local display moves the origin. +videocodec = h263 ; also h261, h263p, h264, mpeg4, ... + +; video_size is the geometry used by the encoder. +; Depending on the codec your choice is restricted. +video_size = 352x288 ; the format WIDTHxHEIGHT is also ok +video_size = cif ; sqcif, qcif, cif, qvga, vga, ... + +; You can also set the geometry used for the camera, local display and remote display. +; The local window is on the right, the remote window is on the left. +; Right clicking with the mouse on a video window increases the size, +; center-clicking reduces the size. +camera_size = cif +remote_size = cif +local_size = qcif + +bitrate = 60000 ; rate told to ffmpeg. +fps = 5 ; frames per second from the source. +; qmin = 3 ; quantizer value passed to the encoder. ; The keypad is made of an image (in any format supported by SDL_image) ; and some configuration entries indicating the location and function of buttons. @@ -115,30 +115,30 @@ ; diameter of the ellipse. ; [my_skin](!) - keypad = /tmp/keypad.jpg - region = 1 rect 19 18 67 18 28 - region = 2 rect 84 18 133 18 28 - region = 3 rect 152 18 201 18 28 - region = 4 rect 19 60 67 60 28 - region = 5 rect 84 60 133 60 28 - region = 6 rect 152 60 201 60 28 - region = 7 rect 19 103 67 103 28 - region = 8 rect 84 103 133 103 28 - region = 9 rect 152 103 201 103 28 - region = * rect 19 146 67 146 28 - region = 0 rect 84 146 133 146 28 - region = # rect 152 146 201 146 28 - region = pickup rect 229 15 267 15 40 - region = hangup rect 230 66 270 64 40 - region = mute circle 232 141 264 141 33 - region = sendvideo circle 235 185 266 185 33 - region = autoanswer rect 228 212 275 212 50 +keypad = /tmp/keypad.jpg +region = 1 rect 19 18 67 18 28 +region = 2 rect 84 18 133 18 28 +region = 3 rect 152 18 201 18 28 +region = 4 rect 19 60 67 60 28 +region = 5 rect 84 60 133 60 28 +region = 6 rect 152 60 201 60 28 +region = 7 rect 19 103 67 103 28 +region = 8 rect 84 103 133 103 28 +region = 9 rect 152 103 201 103 28 +region = * rect 19 146 67 146 28 +region = 0 rect 84 146 133 146 28 +region = # rect 152 146 201 146 28 +region = pickup rect 229 15 267 15 40 +region = hangup rect 230 66 270 64 40 +region = mute circle 232 141 264 141 33 +region = sendvideo circle 235 185 266 185 33 +region = autoanswer rect 228 212 275 212 50 ; another skin with entries for the keypad and a small font ; to write to the message boards in the skin. [skin2](!) - keypad = /tmp/kpad2.jpg - keypad_font = /tmp/font.png +keypad = /tmp/kpad2.jpg +keypad_font = /tmp/font.png ; to add video support, uncomment this and remember to install ; the keypad and keypad_font files to the right place |