i got this error
can somebody help me?
Code:
In file included from device/lge/p970/alsa/alsa_omap3.cpp:25:
device/lge/p970/alsa/audio_modem_interface.h: At global scope:
device/lge/p970/alsa/audio_modem_interface.h:38: error: 'DEVICE_OUT_EARPIECE' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:39: error: 'DEVICE_OUT_SPEAKER' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:40: error: 'DEVICE_OUT_WIRED_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:41: error: 'DEVICE_OUT_WIRED_HEADPHONE' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:42: error: 'DEVICE_OUT_AUX_DIGITAL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:43: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:44: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/audio_modem_interface.h:45: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:153: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:158: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:173: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_ALL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:183: error: 'DEVICE_OUT_BLUETOOTH_SCO_CARKIT' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:188: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:198: error: 'DEVICE_IN_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:203: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
device/lge/p970/alsa/alsa_omap3.cpp:213: error: 'DEVICE_IN_ALL' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:213: error: 'DEVICE_IN_BLUETOOTH_SCO_HEADSET' is not a member of 'android::AudioSystem'
device/lge/p970/alsa/alsa_omap3.cpp:218: error: 'SND_PCM_FORMAT_S16_LE' was not declared in this scope
virtual memory exhausted: Cannot allocate memory
make: *** [out/target/product/p970/obj/SHARED_LIBRARIES/alsa.p970_intermediates/alsa_omap3.o] Error 1
can somebody help me?