Skip to content

Using Baresip: Module sndfile

lmangani edited this page Dec 31, 2014 · 2 revisions

SNDFILE

Audio dumper module using libsndfile

Build Module:

Install the required packages:

Debian:

sudo apt-get install libsndfile1-dev

CentOS/RHEL

yum install libsndfile-devel

Compile Baresip

# make && make install
  CC [M]  build-x86_64/modules/sndfile/sndfile.o
  LD [M]  sndfile.so

...

Enable Module

To enable the module, uncomment the following line in ˜/.baresip/config

module                  sndfile.so

Usage

The module will automatically dump enc/dec channels for all calls using WAV/RIFF:

sndfile: dumping encode audio to dump-2014-12-31-13-40-35-enc.wav
sndfile: dumping decode audio to dump-2014-12-31-13-40-35-dec.wav