Hi all, thank you for trying to help.
I'm thinking there are specific problems with CDevSoundAudioInput and its libraries.
I repeat, I don't use files.
The libraries releted to that class are present in my 6630 (i've found the DLLs).
They are:
LIBRARY advancedaudiocontroller.lib
LIBRARY advancedaudiocontrollerutils.lib
LIBRARY devsoundaudioinput.lib
LIBRARY devsoundaudiooutput.lib
I've also derived the class that uses CDevSoundAudioInput::CapabilitisDataTypeL()
from the necessary observer class that CDevSoundAudioInput needs:
MDevSoundAudioInputObserver this way (I simply call the function having substituted the code in the "Hallo" command in the HalloWorld GUI app...):
class CHelloWorldBasicAppUi : public CAknAppUi,
public MDevSoundAudioInputObserver
I've declared but leaved with an empty implementation its three callbacks because I don't need them for a simple call to CapabilitisDataTypeL():
Code:
TInt EmptySharedBufferL (CMMFBuffer *aBuffer) ;
void RecordComplete () ;
void SendEvent (const TMMFEvent &aEvent) ;
...
TInt CHelloWorldBasicAppUi::EmptySharedBufferL (CMMFBuffer *aBuffer) {return 0;}
void CHelloWorldBasicAppUi::RecordComplete () {}
void CHelloWorldBasicAppUi::SendEvent (const TMMFEvent &aEvent) {}
If I simply comment the call to "CDevSoundAudioInput::CapabilitisDataTypeL()" i have in my class, my app loads its GUI and stays open on my 6630 too. With it uncommented, the app only works in emulator.
I'd like to know if somebody else has ever tried to use this class...
regards
Rocco