MP3 Writer fix and update

TR
Toni Rutar
Wed, Aug 24, 2016 1:02 PM

Hi,

When I updated to latest SVN revision of PJSIP I noticed that my MP3
recordings stopped working. The reason is usage of unicode strings in
the GetProcAddress calls when resolving LAME's functions. As I also had
another issue with recording to Samba drives over VPN connections (big
latency while recording frames 'kills' audio in calls completely), I
also upgraded the MP3 recorder with option to record in separate thread
(added a define for WRITER_USES_THREAD) (same idea could be applied to
WAV writer easilly). I'm attaching the updated file for all that could
use it.

Greets, Toni

Hi, When I updated to latest SVN revision of PJSIP I noticed that my MP3 recordings stopped working. The reason is usage of unicode strings in the GetProcAddress calls when resolving LAME's functions. As I also had another issue with recording to Samba drives over VPN connections (big latency while recording frames 'kills' audio in calls completely), I also upgraded the MP3 recorder with option to record in separate thread (added a define for WRITER_USES_THREAD) (same idea could be applied to WAV writer easilly). I'm attaching the updated file for all that could use it. Greets, Toni