Peter Olsson
084e245085
Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks.
2014-01-22 22:30:23 +01:00
Moises Silva
f2cf68bfa9
mod_portaudio: fix incorrect use of pa input buffer that could lead to garbage audio
2011-11-20 18:40:41 -05:00
Moises Silva
3814eb13df
mod_portaudio: initialize read/write endpoint timers per call
...
fix pablio multiplexing
2011-03-19 23:43:40 -04:00
Moises Silva
739ff9d35a
mod_portaudio: implement endpoint writes and multiplex read/writes in pablio streams
2011-03-19 20:09:18 -04:00
Moises Silva
877b4cf53b
mod_portaudio: create the actual shared stream
2011-03-19 19:23:11 -04:00
Moises Silva
b05965c88d
mod_portaudio: update to support multiple io buffers
2011-03-19 13:24:02 -04:00
Anthony Minessale
886e1ddb4d
run indent on the whole tree and update copyright dates in prep for 1.0.5
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Anthony Minessale
772bc3e68c
fix audio issue in portaudio
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-19 18:30:56 +00:00
Anthony Minessale
38eabef83b
fuggit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 03:14:08 +00:00
Anthony Minessale
f40e5a06be
more pa stabilization
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-22 02:18:49 +00:00
Anthony Minessale
22bc31e19e
make dual streams configurable
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-16 19:32:47 +00:00
Anthony Minessale
7328a06fdc
apply portaudio patches from jira and add some fixes for linux
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-15 18:39:51 +00:00
Anthony Minessale
2ed601f934
more stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Anthony Minessale
30c318b995
clean some old members and naming conventions in the codec structs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 17:48:42 +00:00
Anthony Minessale
53f8222166
update mod_portaudio
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8836 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-24 22:16:48 +00:00
Anthony Minessale
f930eaeec7
indent pass 2
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Anthony Minessale
f2c5f7bebd
ok this has to fix the issue with crappy sound cards 100% soft timer
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-08 16:20:15 +00:00
Anthony Minessale
a869f867d2
change buffering in pa
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 16:48:19 +00:00
Anthony Minessale
885c4e54c8
testing beware
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 16:32:04 +00:00
Brian West
73d78231fc
update portaudio from last commit
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-11 17:02:23 +00:00
Anthony Minessale
0d93e7ed5f
remove extraneous ASS
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-26 01:22:15 +00:00
Anthony Minessale
da7640faa6
hack, *couugh* i mean fix portaudio to work better
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 17:05:51 +00:00
Anthony Minessale
cb766bf817
fi
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5436 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-21 23:28:16 +00:00
Anthony Minessale
4e50738c22
try to fix latency on portaudio
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5434 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-21 22:36:04 +00:00
Anthony Minessale
c15d7892c0
indent again
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
3a54126261
spring cleaning
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Anthony Minessale
2df583650f
cleanup some stuff
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 23:51:52 +00:00
Michael Jerris
23a744ad9d
Initial windows build for new portaudio module, so far completely untested, it will NOT work on 64 bit and potentially problematic on SMP boxes still as I am building right now. This build currently uses only winmme, will follow up with better support for optionally building against direct sound, asio, and wasapi.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-19 01:45:58 +00:00
Anthony Minessale
39a9e94305
New mod_portaudio (sponspred by eWorldCom http://www.eworldcom.hu/ )
...
This updates mod_portaudio to use the new v19 api and also contains
major behavioural changes. This initial check-in should be tested to find
any obscure use cases that lead to crashes etc...
All of the old api interface commands are now depricated and any attempt to
use them should cause a polite warning asking you to try the new single "pa" command.
New Features:
*) Mulitiple calls with hold/call switching.
*) Inbound calls can play a ring file on specified device. (global and per call)
*) Optional hold music for backgrounded calls. (global and per call)
Example dialplan usage:
<extension name="2000">
<condition field="destination_number" expression="^2000$">
<!--if the next 3 lines are omitted the defaults will be used from portaudio.conf-->
<action application="set" data="pa_ring_file=/sounds/myring.wav"/>
<action application="set" data="pa_hold_file=/sounds/myhold.wav"/>
<action application="set" data="export_vars=pa_ring_file,pa_hold_file"/>
<action application="bridge" data="portaudio"/>
</condition>
</extension>
Example API interface usage:
call extension 1000
> pa call 1000
call extension 1001 putting the other call on hold
> pa call 1001
swap the calls between hold and active
> pa switch
view the current calls
> pa list
forground the call with id 1
> pa switch 1
background all calls
> pa switch none
send a dtmf string (1234) to the current call
> pa dtmf 1234
answer the oldest unanswered inbound call
> pa answer
answer the call with id 1
> pa answer 1
hangup the active call
> pa hangup
hangup the call with id 1
> pa hangup 1
get device info
> pa dump
print usage summary
> pa help
USAGE:
--------------------------------------------------------------------------------
pa help
pa dump
pa call <dest> [<dialplan> <cid_name> <cid_num> <rate>]
pa answer [<call_id>]
pa hangup [<call_id>]
pa list
pa switch [<call_id>|none]
pa_dtmf <digit string>
--------------------------------------------------------------------------------
The source of the portaudio v19 library will also be checked in for the
sake of the build system.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3981 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 19:10:03 +00:00
Anthony Minessale
64507e70ca
icc changes part 1
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 23:02:50 +00:00
Michael Jerris
df1f3209d9
dos2unix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@968 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 01:37:57 +00:00
Michael Jerris
92628433da
fix oops (svn merge -r 418:417 http://svn.freeswitch.org/svn/freeswitch/trunk )
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 15:05:05 +00:00
Anthony Minessale
0ea203849f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 02:02:03 +00:00
Anthony Minessale
1e04eb13b5
indent
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-20 00:41:30 +00:00
Anthony Minessale
6668d0282f
update
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-01-03 22:13:59 +00:00