siproc

A primitive SIP client that spawns processes for each call
git clone git://xatko.vsos.ethz.ch/siproc.git
Log | Files | Refs

commit 2814472d83c918975b9738e3849d8555906f719f
parent 37180f1b9680943cb0b5829d8648da21b3794a03
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date:   Sat, 31 Aug 2019 15:30:52 +0200

Rename playdev to call_audio

This is more correct, since the returned device does can not only
produce, but also consume audio, i.e. it is both the audio stream from
the remote end to our program as well as from our program to the remote
end.

Diffstat:
src/siproc.cpp | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/siproc.cpp b/src/siproc.cpp @@ -122,7 +122,7 @@ class MyCall: public Call{ } } - AudioMedia& playdev(){ + AudioMedia& call_audio(){ //return Endpoint::instance().audDevManager().getPlaybackDevMedia(); CallInfo ci = getInfo(); AudioMedia *aud_med = NULL; @@ -228,7 +228,7 @@ class MyCall: public Call{ } void cmd_play(char *path){ - AudioMedia& play_dev_med = playdev(); + AudioMedia& play_dev_med = call_audio(); MyAudioMediaPlayer* player = new MyAudioMediaPlayer(this, path); try { @@ -247,7 +247,7 @@ class MyCall: public Call{ void cmd_stop(char *path){ if(players.size()>0){ - AudioMedia& play_dev_med = playdev(); + AudioMedia& play_dev_med = call_audio(); MyAudioMediaPlayer* player = players.back(); player->stopTransmit(play_dev_med);