기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.
안녕하세요,
v210으로 froyo로만든 제품에서 audio를 제거하려고
BoardConfig.mk에서
아래와 같이 설정을 변경하였읍니다
================
BOARD_USES_GENERIC_AUDIO := true
ifeq ($(BOARD_USES_GENERIC_AUDIO),false)
BOARD_USES_ALSA_AUDIO := true
BUILD_WITH_ALSA_UTILS := true
else
BOARD_USES_ALSA_AUDIO := false
BUILD_WITH_ALSA_UTILS := false
endif
=================
그런데 서비스에 연결된 error가 나서 실행이 되지 않는군요
도움을 부탁드립니다.
menuconfig에서 dummy driver를 선택하고 compile한결과 아래와 같은 오류가 발생합니다.
그냥 config에 넣을까 하다가 다시 문의 드립니다.
==========================================
In file included from sound/core/pcm.c:28:
include/sound/pcm.h: In function 'snd_pcm_playback_avail':
include/sound/pcm.h:588: error: 'CONFIG_ANDROID_BUF_NUM' undeclared (first use in this function)
include/sound/pcm.h:588: error: (Each undeclared identifier is reported only once
include/sound/pcm.h:588: error: for each function it appears in.)
include/sound/pcm.h: In function 'snd_pcm_playback_hw_avail':
include/sound/pcm.h:610: error: 'CONFIG_ANDROID_BUF_NUM' undeclared (first use in this function)
include/sound/pcm.h: In function 'snd_pcm_playback_data':
include/sound/pcm.h:661: error: 'CONFIG_ANDROID_BUF_NUM' undeclared (first use in this function)
include/sound/pcm.h: In function 'snd_pcm_playback_empty':
include/sound/pcm.h:675: error: 'CONFIG_ANDROID_BUF_NUM' undeclared (first use in this function)
make[2]: *** [sound/core/pcm.o] Error 1
make[1]: *** [sound/core] Error 2
make: *** [sound] Error 2
==========================
더미(Dummy) 오디오 드라이버를 하나 만들어서 사용하시는 편이 수월할것 같습니다.
ODROID-PC에서도 비슷한 요청이 있어 적용해본적이 있습니다.