hello again all, I'm working on porting froyo to n900 (trying to keep
to porting the latest version) but for some reason (could be due to
using the eclair alsa files since their are no froyo ones) i get the
following build errors? any ideas how I can fix ?




target arm C++: libaudio <= hardware/alsa_sound/AudioHardwareALSA.cpp
hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
android::AudioStreamOut*
android::AudioHardwareALSA::openOutputStream(uint32_t, int*,
uint32_t*, uint32_t*, android::status_t*)':
hardware/alsa_sound/AudioHardwareALSA.cpp:190: error: cannot allocate
an object of abstract type 'android::AudioStreamOutALSA'
hardware/alsa_sound/AudioHardwareALSA.h:163: note:   because the
following virtual functions are pure within
'android::AudioStreamOutALSA':
hardware/libhardware_legacy/include/hardware_legacy/
AudioHardwareInterface.h:104: note:         virtual android::status_t
android::AudioStreamOut::getRenderPosition(uint32_t*)
hardware/alsa_sound/AudioHardwareALSA.cpp: In member function 'virtual
android::AudioStreamIn*
android::AudioHardwareALSA::openInputStream(uint32_t, int*, uint32_t*,
uint32_t*, android::status_t*,
android::AudioSystem::audio_in_acoustics)':
hardware/alsa_sound/AudioHardwareALSA.cpp:230: error: cannot allocate
an object of abstract type 'android::AudioStreamInALSA'
hardware/alsa_sound/AudioHardwareALSA.h:207: note:   because the
following virtual functions are pure within
'android::AudioStreamInALSA':
hardware/libhardware_legacy/include/hardware_legacy/
AudioHardwareInterface.h:166: note:         virtual unsigned int
android::AudioStreamIn::getInputFramesLost() const
make: *** [out/target/product/n900/obj/SHARED_LIBRARIES/
libaudio_intermediates/AudioHardwareALSA.o] Error 1
make: *** Waiting for unfinished jobs....

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to