<project name="platform/hardware/alsa_sound" path="hardware/
alsa_sound"/>
<project name="platform/external/alsa-lib" path="external/alsa-lib"/>
<project name="platform/external/alsa-utils" path="external/alsa-
utils"/>
alsa-utils are some alsa related command-line tools like aplay
alsa_ctl and amixer
which are playing configuring and controlling the mixer respectively.
alsa-lib is a library that this alsa-tool depend upon (I think)
and if I understand correctly alsa_sound is the interface between
anddroid and alsa.
to enable all of this in the compilation add this 2 lines to your
BoardConfig.mk
BOARD_USES_ALSA_AUDIO := true
BUILD_WITH_ALSA_UTILS := true
-md
On Apr 30, 8:14 am, cindy_king_1024 <cindy_king_1...@126.com> wrote:
> Hi,make a disturb
> how to get the alsa-util,and what's the main effect about alsa-lib?
>
> ...
>
> read more »
Best Regards,
ehung
On 4月30日, 下午3時52分, dmoti <moti.dan...@gmail.com> wrote:
> you need this 3 lines added in you local_manifest:
>
> <project name="platform/hardware/alsa_sound" path="hardware/
> alsa_sound"/>
> <project name="platform/external/alsa-lib" path="external/alsa-lib"/>
> <project name="platform/external/alsa-utils" path="external/alsa-
> utils"/>
>
> alsa-utils are somealsarelated command-line tools like aplay
> alsa_ctl and amixer
> which are playing configuring and controlling the mixer respectively.alsa-lib is a library that thisalsa-tool depend upon (I think)
> and if I understand correctly alsa_sound is the interface between
> anddroid andalsa.
>
> to enable all of this in the compilation add this 2 lines to your
> BoardConfig.mk
>
> BOARD_USES_ALSA_AUDIO := true
> BUILD_WITH_ALSA_UTILS := true
>
> -md
>
> On Apr 30, 8:14 am, cindy_king_1024 <cindy_king_1...@126.com> wrote:
>
>
>
> > Hi,make a disturb
> > how to get thealsa-util,and what's the main effect aboutalsa-lib?
> ...
>
> 閱讀更多 »- 隱藏被引用文字 -
>
> - 顯示被引用文字 -
I can launch alsa_aplay -l and audio card is listed.
Launching alsa_aplay file.mp3 and it tells me "unable to install hw
params".
Launching alsa_amixer -c 0, it has show some information below.
Simple mixer control 'Master' ,0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 13
[1] Segmentation fault alsa_mixer -c 0
When I set the Audible selection on settings of UI, the logcat message
will show
E/MediaPlayer: Unable to to create media player.
That's all for my test that I can do it what I know.
Thanks in advance again.
Best Regards,
ehung
On 6月16日, 下午3時32分, ehung <ehung1...@gmail.com> wrote:
> Hi dmoti
> I have follow your tips to implmentalsafunction.
> I have built the libaudio.so, alsa_ctl, alsa_amixer and alsa_aplay on
> android system.
> I use a aplayer application to test thealsafunction, but the audio
> > - 顯示被引用文字 -- 隱藏被引用文字 -
>
> - 顯示被引用文字 -