2014-07-14 11 views
0

나는 심비안 S60 5th 에디션 OS에서 음성을 녹음하려고합니다. 다음 코드를 사용하여 NOKIA 개발자 사이트에 명시된대로 음성을 녹음하려고합니다.노키아 심비안 OS에서 오디오 녹음

//Create an instance of CMdaAudioRecorderUtility class 
    CMdaAudioRecorderUtility iRecorder = CMdaAudioRecorderUtility::NewL(*this); 

    //Open file either by using a filename with full path infor or a descriptor 
    iRecorder->OpenFileL(aFilename); 
    //iRecorder->OpenDesL(aDescriptor); 

    //Recording is started 
    iRecorder->RecordL(); 
    .... 
    .... 
    //Stop Recording 
    iRecorder->Stop(); 
    //Close the recording session 
    iRecorder->Close(); 

기타 유용한 정보가 도움이 될 것입니다.

답변

0

기본적으로 CMdaAudioRecorderUtility :: NewL (* this)의이 포인터는 구현해야하는 인터페이스를 가리 킵니다. 파일이 열리거나 닫히거나 다른 가능한 상태가되면 알려주는 기능이 있습니다. 다른 작업을 시작하기 전에 실제로 이벤트가 발생할 때까지 기다려야합니다.

인터페이스 기능이 오류를 표시하는지 확인하십시오.