Commit Graph

5584 Commits

Author SHA1 Message Date
d74a1e78f0 * #6621: Fixed double free, unlock mutex in ManagerImpl::terminate
Also the memory pool for the SDP must be deallocated after we've destroyed
the SDP.
2011-08-11 10:06:27 -04:00
f42703aa2e Merge branch 'master' into fix_threads
Resolved Conflicts:
	sflphone-common/src/audio/algorithm.h
	sflphone-common/src/audio/audiortp/AudioRtpRecordHandler.cpp
2011-08-10 18:10:54 -04:00
1ecff75ef1 * #6220: remove audio stream when peer hangs up 2011-08-10 16:54:40 -04:00
90c4059b1c * #6596: AudioSymmetricSession shouldn't self-delete
This lead to a dead-lock in its destructor. Instead, AudioRtpFactory
must delete it.
2011-08-10 16:19:17 -04:00
7cf8ce36dc resampler: grow internal buffers dynamically
also fix wrong assertion about the final number of samples
2011-08-10 16:15:19 -04:00
a72fb4bdc1 merge up and down sampling => resampling 2011-08-10 15:47:11 -04:00
f5731ed8de Leave test directory unchanged when running make check 2011-08-10 15:30:59 -04:00
3e1e94212b audio algorithms : remove unused prototype 2011-08-10 14:53:05 -04:00
5c6f484cde ringtone: detect codec from file extension
The GUI lets user choose .ul (ULAW) or .au files (GSM)
However RawFile class assumes ULAW only so we reject GSM files
2011-08-10 12:21:36 -04:00
40a0c17f46 *AudioFile : simplify 2011-08-10 12:12:42 -04:00
d8864d3b7c * #6596: create local SDP on the stack, not the heap 2011-08-10 10:45:43 -04:00
2326adc6ee * #6596: don't call Ost::Thread::terminate from dtor 2011-08-10 10:43:08 -04:00
f5689d283a audiofile: cleanup (samplerate -> unsigned) 2011-08-09 19:14:04 -04:00
63388c9999 remove unused func 2011-08-09 19:08:39 -04:00
52d01e2ff2 samplerateconverter: cleanup
Also resample the whole sample buffer given
2011-08-09 18:56:22 -04:00
bf11101c58 RingBuffer::Put() : remove unused return value 2011-08-09 18:44:46 -04:00
7ff25e6f11 MainBuffer::putData() : remove unused return argument 2011-08-09 18:33:24 -04:00
ab18c6d0c7 audiolayer::putMain() : remove unused func 2011-08-09 18:33:24 -04:00
4270a30d76 AudioLayer::putUrgent() : remove unused return value 2011-08-09 18:29:05 -04:00
76c9c81e6d * #6618: delete any remaining ringbuffers in destructor 2011-08-09 18:13:29 -04:00
db83b2a3a0 RingBuffer::availForPut() : remove
check is already done in RingBuffer::Put
2011-08-09 17:57:24 -04:00
b27ffc9d6d * #6617: return from main rather than calling exit 2011-08-09 17:48:38 -04:00
bc47e2da6d MainBuffer::availForPut(): remove
check is already done in putData()
2011-08-09 17:48:02 -04:00
29147e109b RingBuffer: simplify 2011-08-09 17:41:24 -04:00
40d29c3b59 alsa : remove write only variable 2011-08-09 17:40:59 -04:00
bdefa89a5d fix memcpy declaration 2011-08-09 17:30:43 -04:00
31047185f8 Merge branch 'master' into fix_threads
Resolved Conflicts:
	sflphone-common/src/audio/audiortp/AudioRtpRecordHandler.cpp
2011-08-09 17:24:30 -04:00
6c6e212349 bcopy(src, dst) -> memcpy(dst, src)
bcopy is deprecated
memcpy is also more performant since it doesn't have to handle overlap
2011-08-09 17:23:59 -04:00
617597d3aa RingBuffer::Get() : remove constant volume argument
move volume change to only user: alsalayer
2011-08-09 17:20:17 -04:00
0714f6339b return a copy of the call ID, not just a reference. 2011-08-09 17:16:00 -04:00
8447828425 MainBuffer::getDataById() : remove volume argument (always 100) 2011-08-09 17:07:52 -04:00
9b87febb8c MainBuffer::getData() : remove constant volume argument
The only user was alsalayer, volume change is added here
2011-08-09 17:03:24 -04:00
1f47047e0b RingBuffer::Put() : remove constant volume argument 2011-08-09 16:54:03 -04:00
3a5b023159 MainBuffer::putData() : remove constant (=100) volume argument 2011-08-09 16:54:03 -04:00
a5227d57de audiolayer: remove constant _defaultvolume 2011-08-09 16:41:45 -04:00
d48220915e AudioRtpRecordHandler / AudioRtpSession : simplify 2011-08-09 15:15:15 -04:00
43b3961cce mainbuffer: fix test 2011-08-09 15:14:34 -04:00
54787909ef iaxvoiplink : simplify 2011-08-09 15:13:59 -04:00
9cb0ad96df sip registration callback: fix a dbus crash
makes sure the string allocated doesn't go out of scope while the dbus call
2011-08-09 15:10:40 -04:00
2a9f1bd3ca MainBuffer: simplify
Do not export buffer size, it's internal only
2011-08-09 15:08:36 -04:00
592e8153f2 Merge branch 'master' into fix_threads 2011-08-09 14:46:23 -04:00
fa70e0e9cf AudioRtpFactory: return cached type of rtp session. The rtp session can have disappeared if the call was put on hold 2011-08-09 13:56:58 -04:00
d1847bb39c AudioRtpFactory: remove unused setters 2011-08-09 13:51:23 -04:00
da84d9b123 Merge branch 'master' of git+ssh://git.sflphone.org/var/repos/sflphone/git/sflphone into fix_threads
Resolved Conflicts:
	sflphone-common/configure.ac
2011-08-09 11:05:55 -04:00
6311dac566 Fix launchpad builds 2011-08-09 10:46:19 -04:00
2873efa44b * #6611 : remove unused bandwidth codec information 2011-08-08 17:42:22 -04:00
19b17087d6 * #6611: AudioCodec: remove useless/unused setters 2011-08-08 17:34:01 -04:00
65be7160a4 make sure buffer string is initialized correctly 2011-08-08 16:58:40 -04:00
33b0282b3f * #6596: declare certain destructors virtual 2011-08-08 16:55:04 -04:00
ae7f07303b audiolayer : cleanup 2011-08-08 16:48:41 -04:00