Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ROR SAMSUNG

Name: Anonymous 2010-10-31 13:50

It is not possible to play and to record sound at the same time in bada 1.0.0 due to a defect. I hope that this defect will be fixed shortly. Although the defect exists, if you use a specific class and specific parameter, you can play and record sound simultaneously.


void AIO::OnAudioInBufferIsFilled( Osp::Base::ByteBuffer* pData)
{
    pData->Rewind();
    __pO->WriteBuffer(*pData);
 
    AudioOutState state= __pO->GetState();
    if (state == AUDIOOUT_STATE_PREPARED)
    {
        __pO->Start();
    }
    else if (state== AUDIOOUT_STATE_STOPPED)
    {
        __pO->Start();
    }
 
    pData->Rewind();
    __pI->AddBuffer(pData);
}


http://developer.bada.com/blog/?p=2047

Name: Anonymous 2010-11-01 0:43

Cool story bro.

Name: Anonymous 2010-12-10 5:21

Name: Anonymous 2011-02-04 11:24

Name: Anonymous 2013-01-19 23:40

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List