Hi,

should be CDevSoundAudioInput class used for recording/streaming AMR or NO?

I tried to use similar to code below

sett.iPriority = 80;
sett.iPref = EMdaPriorityPreferenceQuality;
sett.iState = EMMFStateRecording;

/*
iDSAmrInputAdapter = CDevSoundAudioInput::NewL(
KQcelpFullFixedRate,
1,
KMMFFourCCCodeAMR,
//TUid::Uid(0x101faf5c),
_L8(""),
sett,
*this );
*/
iDSAmrInputAdapter = CDevSoundAudioInput::NewL(
sett,
*this );

iDSAmrInputAdapter->PrimeL();

iDSAmrInputAdapter->SetBitRatesL( 8000, iUnsupp2 );
iDSAmrInputAdapter->SetChannelsL( 1 );
iDSAmrInputAdapter->SetGainL( iDSAmrInputAdapter->MaxGainL() );
iDSAmrInputAdapter->SetRatesL( KQcelpHalfFixedRate );


CMMFDataBuffer* buffer = CMMFDataBuffer::NewL( KBufferSize );

iDSAmrInputAdapter->RecordL( buffer );

After RecordL() method is called it fails with Access violation...
Anybody tries it?

Thanx
STeN