search for: play_file

Displaying 11 results from an estimated 11 matches for "play_file".

2013 Jan 07
0
Something wrong with echo_diagnostic.m
.... I also made some minor modifications to the file to correct those errors and publish it here. If it can helps the project to be more perfect, please consider accepting the changes. The modified code: % Attempts to diagnose AEC problems from recorded samples % % out = echo_diagnostic(rec_file, play_file, out_file, tail_length) % % Computes the full matrix inversion to cancel echo from the % recording 'rec_file' using the far end signal 'play_file' using % a filter length of 'tail_length'. The output is saved to 'out_file'. function out = echo_diagnostic(rec_file, pl...
2007 Aug 29
2
sip authorization problem
...tecommand,1,System(${command}) exten = executecommand,n,Hangup() exten = record_vmenu,1,Answer exten = record_vmenu,n,Playback(vm-intro) exten = record_vmenu,n,Record(${var1}) exten = record_vmenu,n,Playback(vm-saved) exten = record_vmenu,n,Playback(vm-goodbye) exten = record_vmenu,n,Hangup exten = play_file,1,Answer exten = play_file,n,Playback(${var1}) exten = play_file,n,Hangup hasbeensetup = Y [DID_trunk_1] include = default [numberplan-custom-1] plancomment = DialPlan1 include = default include = parkedcalls [timebasedrules] *******part of extensions.conf that was added by asterisk-gui (svn)***...
2005 Aug 25
2
Custom Application For Asterisk
...= ""; static char abcdcharset[30] = ""; static char abcdlanguage[30] = ""; #define DEFAULTCHARSET "iso_1" #define DEFAULTLANGUAGE "us_english" static int connected = 0; static int mssql_connect(void); static int mssql_disconnect(void); static int play_file(struct ast_channel *chan, char *filename); AST_MUTEX_DEFINE_STATIC(tdslock); static TDSSOCKET *tds; static TDSLOGIN *login; static TDSCONTEXT *context; STANDARD_LOCAL_USER; LOCAL_USER_DECL; struct abcd_user { char moh[80]; char announce[80]; char context[80]; int handled; time_t st...
2001 Apr 03
1
playing vorbis file stored in a buffer array
Hi, I'm building an rtsp client/server that will support vorbis and I'm trying to determine the best way to play the vorbis content as the array is continuously being filled. Currently, I can download an ogg file via rtsp and write it out to a FILE and then play_file (from ogg123) it when it's done -- so the file is in the correct format. What would you recommend? -- Wayne Davis - wfdavis@seas.upenn.edu - PGP Key Available --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from thi...
2007 Jul 17
0
help with sip configuration for sipgate.de on asterisk 1.4
...tecommand,1,System(${command}) exten = executecommand,n,Hangup() exten = record_vmenu,1,Answer exten = record_vmenu,n,Playback(vm-intro) exten = record_vmenu,n,Record(${var1}) exten = record_vmenu,n,Playback(vm-saved) exten = record_vmenu,n,Playback(vm-goodbye) exten = record_vmenu,n,Hangup exten = play_file,1,Answer exten = play_file,n,Playback(${var1}) exten = play_file,n,Hangup hasbeensetup = N [numberplan-custom-1] plancomment = DialPlan1 include = default exten = _00X!,1,Macro(trunkdial,${trunk_4}/${EXTEN:0}) comment = _00X!,1,webcall,standard [DID_trunk_1] include = default [DID_trunk_2] inclu...
2008 Jan 31
1
Default delay time for Attended call
...em(${command}) ;exten = executecommand,n,Hangup() ;exten = record_vmenu,1,Answer ;exten = record_vmenu,n,Playback(vm-intro) ;exten = record_vmenu,n,Record(${var1}) ;exten = record_vmenu,n,Playback(vm-saved) ;exten = record_vmenu,n,Playback(vm-goodbye) ;exten = record_vmenu,n,Hangup ;exten = play_file,1,Answer ;exten = play_file,n,Playback(${var1}) ;exten = play_file,n,Hangup ;hasbeensetup = Y [DID_trunk_1] include = default exten = s,1,Answer() exten = s,n,NoOp(${CALLERID(num)}) exten = s,n,Directory(default||f) [support] include = default exten = _X.,1,Goto(default|6009|1)...
2001 Jan 26
1
[fwd] Ogg123 crash report on EV4 Multia
...0x20000484784 in _fetch_headers () from /usr/lib/libvorbisfile.so.0 #6 0x20000484d28 in _open_seekable () from /usr/lib/libvorbisfile.so.0 #7 0x20000485698 in ov_open_callbacks () from /usr/lib/libvorbisfile.so.0 #8 0x2000048722c in ov_open () from /usr/lib/libvorbisfile.so.0 #9 0x120002d30 in play_file () #10 0x12000266c in main () #11 0x200007c9774 in __libc_start_main () from /lib/libc.so.6.1 These are the archives I used: libao-0.5.0.tar.gz libogg-1.0beta3.tar.gz libvorbis-1.0beta3.tar.gz vorbis-tools-1.0beta3.tar.gz SPECIAL OFFER: If you want access to a Multia that is on the internet, the...
2001 Sep 12
6
Yet another backtrace
...ffff560) at vorbisfile.c:343 #3 0x4003441c in _process_packet (vf=0xbffff560, readp=1) at vorbisfile.c:547 #4 0x4003640e in ov_read (vf=0xbffff560, buffer=0x804d060 "GÐøÏMÐýÏRÐ", length=4096, bigendianp=0, word=2, sgned=1, bitstream=0xbfffe53c) at vorbisfile.c:1486 #5 0x0804a0e1 in play_file (opt= {read_file = 0xbffffa6d "http://www.djlithium.com:8064/djlithium.ogg", shuffle = 0 '\000', verbose = 1, quiet = 0, seekpos = 19.24444580078125, instream = 0x40333e94, outdevices = 0x4024cfec, buffer_size = 0, rate = -1073743656, channels = 1073797552, delay = 1}) at og...
2000 Dec 11
1
fixing shuffle in ogg123
...)); - j = (int) ((float) (argc - optind) * rand () / (RAND_MAX + 1.0)); - param.read_file = argv[j+optind]; + int j = i * ((float) rand() / RAND_MAX); + int temp = p[j]; p[j] = p[i]; p[i] = temp; + } + for (i = 0; i < nb; i++) + { + param.read_file = argv[p[i]+optind]; play_file (); } } -=-=-- -- Guillaume Cottenceau - http://us.mandrakesoft.com/~gc/ --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing o...
2001 Sep 11
2
Another backtrace
I got this one this morning, but didn't notice it til now: --- (gdb) bt #0 0x4003be91 in vorbis_block_clear (vb=0xbffff71c) at block.c:156 #1 0x4003ce36 in vorbis_analysis_blockout (v=0xbffff71c, vb=0x8050b80) at block.c:591 #2 0x4002ff23 in _prefetch_all_headers (vf=0xbffff540, dataoffset=-1073749296) at vorbisfile.c:324 #3 0x4003039c in _process_packet (vf=0xbffff540, readp=1)
2001 Mar 10
0
patch to add device-option to ogg123 rc file
...-tools-1.0beta4-modified/ogg123/ogg123.h Sat Mar 10 03:21:12 2001 @@ -41,7 +41,7 @@ void devices_write(void *ptr, size_t size, devices_t * d); void usage(void); int add_option(ao_option_t ** op_h, const char *optstring); -int get_default_device(void); +int get_configs(ao_option_t ** op_h); void play_file(ogg123_options_t opt); int get_tcp_socket(void); /* Will be going soon. */ FILE *http_open(char *server, int port, char *path); /* ditto */ diff -u vorbis-tools-1.0beta4/ogg123/ogg123rc-example vorbis-tools-1.0beta4-modified/ogg123/ogg123rc-example --- vorbis-tools-1.0beta4/ogg123/ogg123rc-exampl...