linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Generating tone command


From: Salvatore Benedetto
Subject: [Linphone-developers] Generating tone command
Date: Fri, 17 Jul 2009 11:10:25 +0200

Hi,

I'm trying to implement a tone generator (sinusoid) command in linphone,
but I'm totally new to the code base and don't know where to start.

Personally I see two way of doing this:

- Use an utility that generatores tone, and call it transparently, so that the
playTone command, would first call the utility to create the tone in a temporary
wav file, and then simply call the linphone play function. By the way,
anyone aware
of such of light utility?

- Create a function that generate a sound wave (no idea how to do this), send
the buffer to alaw_enc_process, and send it over.

Any suggestion is highly appreciated.

Regards,
S.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]