[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Linphone-developers] Playing a wav file to the caller
From: |
M Walton |
Subject: |
RE: [Linphone-developers] Playing a wav file to the caller |
Date: |
Fri, 11 Dec 2009 09:08:45 -0000 |
Hi,
So to be able to play a wav file, the best bet is for me to decode the file and
pass the PCM samples directly to the input sample buffer inside my soundcard
filter - making sure its streaming at the same rate as the requested connection
speed?
There is no PlayWav() function which is already implemented?
Kindest regards
Billy
-----Original Message-----
From: Simon Morlat [mailto:address@hidden
Sent: 11 December 2009 8:43 AM
To: M Walton
Cc: address@hidden
Subject: Re: [Linphone-developers] Playing a wav file to the caller
Unfortunately, switching soundcards during calls is not supported in
audiostream.c
Simon
Le mardi 08 décembre 2009 à 12:07 +0000, M Walton a écrit :
> Hi,
>
>
>
> How can i stream a wav file to the caller after the call has been
> answered? i notice the 'play' command can only be used with files?
>
>
>
> Im wondering if the following is possible:
>
>
>
> 1) User calls
>
> 2) Linphonec auto answers (using the -a command switch)
>
> 3) Linphonec streams a wav file to the end user (simple 8KHz PCM)
>
> 4) Linphonec now uses the soundcard to capture/playback as normal
>
>
>
> Do i need to switch sooundcards, play the wav and then switch back?
>
>
>
> Kindest regards
>
>
>
> Billy Walton
>
> Development Engineer
>
> Lismore Instruments Ltd
>
> ----------------------------------
>
> Unit 2 Tristar Centre
>
> Star Road Industrial Estate
>
> Star Road
>
> Horsham
>
> RH13 8RA
>
>
>
> [T] 01403 713121
>
> [E] address@hidden
>
> [W] www.Intercall.co.uk
>
> ----------------------------------
>
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers