Symbian VAS API released

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

 



To Mukesh,


hi, i am facing the same problem. in the symbian_sound_aps.cpp file:

there is a class CPjAudioEngine

in its functions: StartL() and StartStreamL();

TInt CPjAudioEngine::StartStreamL()
{
    if (state_ == STATE_STREAMING)
    return 0;

    iSession.SetCng(EFalse);
    iSession.SetVadMode(EFalse);
    iSession.SetPlc(EFalse);
    iSession.SetEncoderMode(EALawOr20ms);
    iSession.SetDecoderMode(EALawOr20ms);
    iSession.ActivateLoudspeaker(act_loudspeaker);

    // Not only playback
    if (dir_ != PJMEDIA_DIR_PLAYBACK) {
    iRecHandler = CQueueHandler::NewL(this, &iReadQ,
                      CQueueHandler::ERecordQueue);
    iRecHandler->Start();
    iSession.Read();
    }

    // Not only capture
    if (dir_ != PJMEDIA_DIR_CAPTURE) {
    iSession.Write();
    }

    state_ = STATE_STREAMING;
    return 0;
}


the "iSession.ActivateLoudspeaker(act_loudspeaker);" should be set as EFalse
(Not active).


After set to EFalse, I still hear the audio from Loutspeaker....

To Fabio,

hello, Yes, APS is still usable. But the app crashed on my Nokia E71, on E65
it works fine.


Regards,

Pai



On Tue, Dec 9, 2008 at 10:52 AM, Fabio Pietrosanti (naif)
<lists at infosecurity.ch> wrote:

> Pai Peng wrote:
>
>> Hello,
>>
>>
>> has anyone already ported pjmedia APS to VAS for S60 3rd Edition FP2
>> above?
>>
>> on devices above S60 3rd Edtion FP2, there is only VAS available.
>>
> No, APS works even if deprecated.
>
> Still, support for VAS would be a great improvement in the direction of
> native support of FP1/FP2+
>
> Fabio
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081209/fce2e8d7/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux