search for: format_

Displaying 15 results from an estimated 15 matches for "format_".

Did you mean: format
2006 Aug 17
2
Creating function name from variables..
...;', ''Ugly'' and also sends back the value of the result[e] above into the correct format. So, I have helpers for each of the fields. FLAGMEAN = [ " ", "!", "+", "-", "*" ] unless const_defined?("FLAGMEAN") def format_abc(val, flag) a = sprintf ("%.1f",(val/ 10.0)) b = FLAGMEAN[flag] return a, b end def format_def(val, flag) a = sprintf ("%.1f",(val/ 100.0)) ........ end These need to be separate function since the division factors, etc. depend on the act...
2004 Aug 06
2
icecast 2 compatibility with older clients
...vsroot/icecast/src/format.c,v retrieving revision 1.20 diff -u -p -r1.20 format.c --- src/format.c 15 Mar 2003 02:10:17 -0000 1.20 +++ src/format.c 2 Jul 2003 23:17:53 -0000 @@ -1,3 +1,4 @@ +/* -*- c-basic-offset: 4; -*- */ /* format.c ** ** format plugin implementation @@ -101,7 +102,11 @@ void format_send_general_headers(format_ http_var_t *var; avl_node *node; int bytes; + char *client_is_icy; + /* if the client uses icy headers, we'll respond in kind */ + client_is_icy = httpp_getvar(client->parser, "icy-metadata"); + /* iterate through sourc...
2004 Sep 05
3
ChanSpy by anthm and more...
...s.digium.com/bug_view_page.php?bug_id=0002379 http://bugs.digium.com/bug_view_page.php?bug_id=0002380 http://bugs.digium.com/bug_view_page.php?bug_id=0002381 These include app_chanspy, the ability to spy on ANY bridged call taking place inside asterisk. NOT just ZAP as with ZapScan/Barge. Native format_* files being used for moh. Reload enabled res_musiconhold. format_mp3.c that produces SLNR output to asterisk, format_slinear.c for raw headerless audio, format_base65_wav_gsm.c aka wav49 held in a base64 containers(it can read and playback from these .b64 files) All this is thanks to my emplo...
2015 Jun 24
2
Change fallback mount file automatically?
...his optional value specifies a mountpoint that clients are automatically moved to if the source shuts down or is not streaming at the time a listener connects. Only one can be listed in each mount and should refer to another mountpoint on the same server that is streaming in the _same streaming format_. I was thinking that "same streaming format" referred to bitrate/channels, etc. Perhaps it means mp3 or ogg. Anyway, this is good news. Thank you. -- Jack Elliott Producer, The Point Wednesday Host, The Sunday Classics KPOV 88.9 High Desert Radio kpov.org On 6/24/2015 6:33 AM, Marti...
2004 Dec 25
3
is this an appropiate use of icecast/libboost?
Hi guys, I'm writing an application that will sniff audio streams going across the network and allow a seperate client application to listen into one of these streams. I was looking into ways to distribute the captured stream media to a client for listening, and icecast came to mind. Icecast, as I understand it, is usually used for streaming a few data sources to MANY clients. As I want
2015 Jun 24
0
Change fallback mount file automatically?
...ue specifies a mountpoint that clients are > automatically moved to if the source shuts down or is not streaming at > the time a listener connects. Only one can be listed in each mount and > should refer to another mountpoint on the same server that is > streaming in the _same streaming format_. > > I was thinking that "same streaming format" referred to > bitrate/channels, etc. Perhaps it means mp3 or ogg. I think this is just 80% of the story: *only the container needs to match. With Ogg you can in theory even change the used codec. But: Most players are broken in o...
2004 Aug 06
0
icecast 2 compatibility with older clients
...vsroot/icecast/src/format.c,v retrieving revision 1.20 diff -u -p -r1.20 format.c --- src/format.c 15 Mar 2003 02:10:17 -0000 1.20 +++ src/format.c 2 Jul 2003 23:45:51 -0000 @@ -1,3 +1,4 @@ +/* -*- c-basic-offset: 4; -*- */ /* format.c ** ** format plugin implementation @@ -109,8 +110,12 @@ void format_send_general_headers(format_ var = (http_var_t *)node->key; if (strcasecmp(var->name, "ice-password") && (!strncasecmp("ice-", var->name, 4) || - !strncasecmp("icy-", var->name, 4))) { -...
2004 Dec 27
2
Speex support?
...> of speex support for it anywhere (including the source). Looking through > the source, it looks like such support would be somewhat trivial for > someone that knew what they were doing. Would I be correct in my > assumption that the easiest way to do this would be to write a > format_speex.c and .h file from format_vorbis.c/.h that conforms to the > Speex in Ogg encapsulation spec at > http://www.speex.org/manual2/node7.html#SECTION00073000000000000000 ? > It also seems that libshout would require some slight modifications > (e.x. a new FORMAT_ specified for SP...
2013 Sep 05
1
high cpu average load
Hello, Running one asterisk server with below details. Only SIP to SIP calls. No real time configuration, no recording, no voicemail, no IVR, no codec translation. Average CPU load varies between 4 to 30 for 150 to 200 concurrent calls and we start getting problem in call quality like delay in connectivity, voice breakage etc.... Hardware: 2 Physical processor Intel(R) Xeon(R) CPU
2004 Aug 06
0
patch: single-q
.../archives/icecast-dev/1153.html (looks like it still applies to svn, if not then let me know) The mechanism in this queue patch is used in the -kh tree for placing stream data into a per-source queue instead of the current per-client queues. The main differences shown in the diff are in source.c, format_*.c as these interact considerably with the queue code but there are 2 main aspects to the queue differences 1. An associated pointer is added to refbuf. This is just a pointer to another refbuf object but its use is up to the specific format plugin. In the case of mp3 this stores the shoutcast met...
2006 Feb 14
1
voicemail recording format
...s not handle wav mime types correctly and I have difficulties playing wav files in my basic linux environement. So my plan is to switch to another codec. I checked about the available modules for sound files: root@asterisk1 modules]# cd /usr/lib/asterisk/modules/ root@asterisk1 modules]# ls -1 format_* format_au.so format_g723.so format_g726.so format_g729.so format_gsm.so format_h263.so format_ilbc.so format_jpeg.so format_mp3.so format_pcm_alaw.so format_pcm.so format_sln.so format_vox.so format_wav_gsm.so format_wav.so So I imagine I can use .au and .mp3 format for audio files. That's wh...
2015 Jun 24
3
Change fallback mount file automatically?
Icecast allows using a fallback mount file which the listener will hear if the main mount stops. It is specified in icecast.xml as this example: <fallback-mount>/example2.ogg</fallback-mount> It is necessary that the file have the same bitrate and same format (single or two-channels) as the main mount. We were at a music festival last weekend and used butt (Broadcast Using This
2004 Aug 06
5
shoutcast to icecast2 issues
relaying a shoutcast stream via icecast2 is pretty much unlistenable -- it constantly stutters. for example, shoutcast relay -- http://205.188.234.1:8030/listen.pls icecast2 relay -- http://liveradio.indymedia.org:8001/sf-hifi.mp3.m3u --mark --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a
2004 Jul 20
5
Precision in R
Greetings. I'm trying to recreate in R some regression models I've done in SAS, but I'm not getting the same results. My advisor suspects this may be due to differences in precision between R and SAS. Does anyone know where I can find specifications for R's type double? (It doesn't seem to be in the R Language Definition.) Thanks in advance for any help anyone can
2020 Jun 30
5
[RFC] Semi-Automatic clang-format of files with low frequency
I 100% get that we might not like the decisions clang-format is making, but how does one overcome this when adding new code? The pre-merge checks enforce clang-formatting before commit and that's a common review comment anyway for those who didn't join the pre-merge checking group. I'm just wondering are we not all following the same guidelines? Concerns of clang-format not being good