[android-porting] ALSA Driver issue..

2013-04-30 Thread paul lee
Hi, I have written a new driver for audio amplifier. I am using IMX hardware and ported android on it. Druing the board boot up snd_pcm_playback_open called and it remains open till boot completed. When i tries to play the music file no sound is comming. Please check attached log.

[android-porting] ALSA sound too loud!!!

2012-02-05 Thread Alvin Wong
Hi there, I am trying to make ALSA sound work in Android, and now I managed to make sound come out from the speaker, but it is just too loud. Actually sound isn't coming out automatically. I need to run `/system/ bin/alsa_ctl -f /system/etc/asound.state restore` once (in init.PLATFORM.rc), where

[android-porting] ALSA in NDK

2011-08-26 Thread arif
Hi All, I am porting a audio playback application to Android platform (written in native code), it uses alsa library,i tested this by creating a binary and is working fine, now i am planing to run with the apk, for creating native shared library there is no alsa support in NDK, Will this work

[android-porting] ALSA recording audio on Donut problem

2011-07-13 Thread Diego Rondini
Hi, I'm porting Android 1.6 Donut to a Freescale i.MX233 EVK board and I'm having a problem when recording audio. Let me introduce my problem. What works: - playing audio with alsa_aplay; - recording audio with alsa_aplay -C; - playing audio inside Android (e.g. with Music player). What doesn't

Re: [android-porting] ALSA recording audio on Donut problem

2011-07-13 Thread Ashwin Bihari
If you are starting a port to a new board, why are you starting with such an old version of Android? You should start with Gingerbread and at the worst FroYo.. -- Ashwin On Wed, Jul 13, 2011 at 12:38 PM, Diego Rondini diego.rond...@kynetics.it wrote: Hi, I'm porting Android 1.6 Donut to a

[android-porting] ALSA SoC problems

2011-06-23 Thread Marco UK
Hi, I am trying to enable the WM9714 attached to a S3C6410 through the AC97 Bus. I am using the Android Gingerbread running the kernel linux-2.6.35. I can see, on the kernel source, that there is the WM9713 codec but not the WM9714. Is this a problem? I am quite sure that the kernel

[android-porting] ALSA giving timeval error

2011-05-03 Thread Vikas KM
Hi, I am trying to compile a package and i need *alsa* for that. I tried to use the alsa-lib which is there in the external but it gives me this error *alsa-lib/include/alsa/global.h:137: error: redefinition of 'struct timeval' * *alsa-lib/include/alsa/global.h:142: error: redefinition of

[android-porting] alsa player

2010-12-29 Thread upendra mathur
Hi, I am doing a recording using alsa player, but i am getting too many glitches while playing the recorded voice, could anyone help me out how to resolve glitches. Br, Upendra -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: [android-porting] alsa player

2010-12-29 Thread srinath ramini
Check the Recording Sampling Rate and Playing Sampling Rate. On Wed, Dec 29, 2010 at 7:18 PM, upendra mathur upendramat...@gmail.comwrote: Hi, I am doing a recording using alsa player, but i am getting too many glitches while playing the recorded voice, could anyone help me out how to

Re: [android-porting] Alsa + audioflinger latency for audio when playing over AudioTrack + MODE_STREAM

2010-11-29 Thread Sambhav
I am facing the same latency issues using the using AudioTrack. Ben, were you able to solve the latency issue ? Regards, Sambhav On Sat, Sep 11, 2010 at 2:57 AM, Ben Friedberg ben.friedb...@gmail.comwrote: We are experiencing a great deal of latency on our device using the SipDroid SIP

[android-porting] alsa drivers on froyo

2010-11-15 Thread venu
Hi all, I ported android using froyo on dm365.I add alsa libraries to it as follows cd $ANDROID_SOURCE/external git clone git://android.git.kernel.org/platform/external/alsa-lib.git git clone git://android.git.kernel.org/platform/external/alsa-utils.git cd $ANDROID_SOURCE/hardware git clone

[android-porting] ALSA AUDIO on PXA3xx

2010-11-04 Thread Sayiram K N
Hi All i am trying to enable the ALSA AUDIO on PXA320 plartform. no sound card is enabled even though Linux shows it found. i have attached the logs from kernel boot as well the logcat Advanced Linux Sound Architecture Driver Version 1.0.18a. No device for DAI pxa2xx-ac97 No

[android-porting] Alsa + audioflinger latency for audio when playing over AudioTrack + MODE_STREAM

2010-09-10 Thread Ben Friedberg
We are experiencing a great deal of latency on our device using the SipDroid SIP client. The same application is not NEARLY as laggy on a different device. There can be as much as 1 - 1.5 seconds from sending audio from a landline until it comes out of the earpiece. We have eliminated network

[android-porting] ALSA and Audio: Unable to attach mixer to device AndroidOut: No such file or directory

2010-09-09 Thread yogi
Hi All I am porting Android on ARM11 MPCore. Android is coming fine. Some issues are there in Audio playback. When I play wav file using alsa_aplay, sound is coming. But when I play from Android audio player there is no sound. Following is the logs - I can see the Unable to attach mixer to

[android-porting] alsa in eclair ,mediaserver can't start

2010-07-26 Thread Weber
Hi,everyone I now want to porting alsa to eclair.My board are smdk6410,the audio module are wm8987. these are my steps: 1.download the snapshot of eclair version from android.git.kernel.org/ platform/external and then tar them to external/ 2. build/target/board/.../BoardConfig.mk

[android-porting] Alsa sink for gstreamer audio

2010-06-21 Thread Nilly
Hello everyone, Any one using alsa sink for gstreamer audio? I have strange problem with it. Playback open error on device 'default': No such device or address I have tried giving different option instead of default but it is not helping. my cards are as shown below cat /proc/asound/cards

[android-porting] ALSA: Waiting for sevice media.audio_policy...

2010-03-25 Thread abukustfan
Hi, Thanks for reply! Yes, I can get my device info at pcm0p and pcm0c. For example, pcm0p shows # ls /proc/asound/card0/pcm0p/ oss sub0 info # cat /proc/asound/card0/pcm0p/info card: 0 device: 0 subdevice: 0 stream: PLAYBACK id: [MY DEVICE NAME] name: subname: subdevice #0 class: 0 subclass: 0

[android-porting] Alsa rendering not working for sampling rates different from 44.1 khz

2010-03-20 Thread RockNCode
Hi. I'm not an alsa expert, but I'm making an application that uses alsa rendering. It works fine for 44.1 khz but when trying to use sample rates different from 44.1 khz I get this error: Cannot load library: load_library[1051]: Library '/system/usr/lib/alsa-

[android-porting] Alsa Audio Support? OMAP24xx cpu

2010-03-20 Thread DJ_Steve
hello, my first post here, im currently working on porting android and hopfulyl getting it fully running on the Nokia Internet Tablets (n800,n810,n900) currently we have a base system that boots and works, the on screen keyboard on this is basicly broken though, and also no sound or bluetooth.

[android-porting] alsa: In valid type of nonblock

2010-03-15 Thread abukustfan
Hi all, I tried to port eclair + alsa to my target board. Target board boot up success but I cannot play sound on it. # alsa_amixer -c 0 # alsa_aplay -l shows my devices info correctly. but # alsa_aplay sample.wav shows below error, -- ALSA lib

[android-porting] ALSA Mixer commands and Hooks in alsa.conf

2010-03-08 Thread mesv
Hi guys I have a problem with ALSA. In principle it works fine, but not automated... I can set some controls on my mixer driver with alsa_amixer sset AUX out on perfectly and Android can play sound then. My question is, how do I get ALSA to do this automaticaly when it tries to open a

Re: [android-porting] ALSA Mixer commands and Hooks in alsa.conf

2010-03-08 Thread Misael Lopez
I tried to make a hook in alsa.conf. Is this the right place for it? It should be 'asound.conf', you can check below link for reference:

[android-porting] alsa support in android

2010-02-11 Thread kumar
Has anyone integrated alsa support in Android Eclair? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] ALSA mixers

2010-02-10 Thread ani
Hi Sean, I have a question regarding mixers in android. Lets say my mixer control name is MIC RECORDING Then how below line changes so that i can use that mixer for setting the right values.Like if i want to enable the mic using above control. Then in alsamixer.cpp how the below line changes.

[android-porting] ALSA mixer,re-sampling code Vs Android Mixer,re-sampling code

2010-01-17 Thread ani
Hi Sean et al, I just have some questions related to Android Architecture for audio (ECLAIR version). a.Can we use the ALSA mixer(DMIX-i enabled in my system) for mixing streams instead of android mixer?If yes then how? b.Can we use re-sampler code of alsa instead of android re-sampler? Why

[android-porting] Alsa integration in Android Donut

2009-12-10 Thread Fasil
Hi , I have ported Donut on OMAP 3530 and wanted to integrate alsa in it. By default the manifest.xml is not having any alsa related git files. so add the alsa related files from the masted git and got some compilations issues. so I reverted to OMAP3 alsa files from project Rowboat and even

[android-porting] ALSA: Unable to attach mixer to device AndroidPlayback

2009-11-05 Thread abukustfan
Hi, I added external/alsa-lib, external/alsa-utils, hardware/alsa_sound from git to my android build tree. Changed BoardConfig.mk as below, BOARD_USES_GENERIC_AUDIO := false BOARD_USES_ALSA_AUDIO := true BUILD_WITH_ALSA_UTILS := true Added asound.conf to (my_target)/system/etc.

[android-porting] ALSA audio only on the headphone and not on speaker

2009-10-12 Thread Claw
Hi, When the alsa_aplay is used, I get the sound only on the headphone and not on the speaker of the sound card connected to my hardware. I have used the alsa_amixer as below to set up the sound. alsa_amixer set Master 100 unmute alsa_amixer set Headphone 100 unmute alsa_amixer set PCM 100

[android-porting] ALSA on Android 1.5

2009-09-23 Thread Claw
Hello, When I try to build the ALSA libraries with Android 1.5, I get the following error. target arm C++: libaudio = hardware/alsa_sound/AudioHardwareALSA.cpp hardware/alsa_sound/AudioHardwareALSA.cpp: In function 'android::AudioHardwareInterface* createAudioHardware()':

[android-porting] ALSA buffer size

2009-06-22 Thread xro
hi. I have a bug on my platform and i need to set the buffer... Android would like a buffer of 16384 and i have one of 2048... So i have to hack a test and the sound is really bad... someone know where is the buffersize set? thanks --~--~-~--~~~---~--~~

[android-porting] ALSA sound lib

2009-06-18 Thread xro
hi... i installed the alsa_sound and alsa-lib on android. now i can't boot. someone know that? that's my error message when i boot [42949578.08] snd_imx_pcm_open Playback stream @: 0xd39cbb00 [42949578.09] imx_ssi_get_dma_tx_channel = 13 [42949578.09] playback supported the

[android-porting] ALSA Waiting for sevice media.audio_flinger

2009-06-17 Thread xro
hi, i'm porting android an a apf27 plateform... It works... But there is no sound... So i installed the ALSA lib and compiled... Now i can't boot android... What is wrong? thanks what i did --- cd ~/mydroid/external git clone

[android-porting] ALSA on x86 - No sound

2009-06-02 Thread Luca Belluccini
Hi... I'm writing to you my porting status about audio. Kernel ALSA and Intel HD enabled as built-in (no module). It correctly creates device nodes at bootup. Also sysfs seems right (different cat display right outputs). BoardConfig.mk [...] HAVE_HTC_AUDIO_DRIVER := false BOARD_USES_ALSA_AUDIO

[android-porting] ALSA BOOTUP ERROR !!!

2009-05-20 Thread Rajesh N
Hi All, I have built android filesystem with ALSA downloaded from git, I changed BoardConfig.mk to Then turn on BOARD_USES_ALSA_AUDIO := true andBUILD_WITH_ALSA_UTILS := true, Code got successfully compiled , but when ported I am getting this message at bootup , from where it is not going

[android-porting] ALSA + Android -Problem

2009-05-11 Thread Rajesh N
Hi All, I integrating ALSA for android, but I am facing few problems with bootup, mediaserver is terribly failing on bootup, below I have mentioned logcat messages on android + alsa integration , if anyone can give some pointer on this issue, it would be highly appriciatble.

[android-porting] ALSA sound: Unable to attach mixer

2009-04-01 Thread Androidphan
Android is not booting at the moment. I tried building it with ALSA support. When booting it gets a segfault on mediaserver and tries to restart it over and over. The logcat errors are: I/( 2182): ServiceManager: 0x804abe0 E/ALSALib ( 2182): external/alsa-lib/src/control/control.c:909:

[android-porting] alsa run on real board

2009-03-25 Thread susanner
after I compiled alsa-lib and alsa-utils, I use aplay on real hard board and it shows: aplay ALSA lib external/alsa-lib/src/confmisc.c:670:(snd_func_card_driver) cannot find card '0' ALSA lib external/alsa-lib/src/conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned

[android-porting] alsa

2009-03-24 Thread adumitru007
I have a lot of questions about alsa, here i go.. I am trying to use alsa api in a native C application to play some sound on the HTC Dream. If i cross-compile the application for ARM with the tools provided in the sdk and with the include files from WindRiver's alsa-lib, and then link it with

[android-porting] alsa

2009-03-22 Thread susanner
here is how I ported alsa and there is still mistakes 1:git alsa_sound $git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git 2:mv alsa_sound libaudio-alsa 3: I copied the file AudioHardware* from framework/base/libs/audioflinger to hardware/libaudio-alsa 4: revise Android.mk

[android-porting] ALSA build error

2009-03-06 Thread Androidphan
My local_manifest.xml: ?xml version=1.0 encoding=UTF-8? manifest project name=platform/vendor/asus/eee_701 path=vendor/asus/ eee_701/ project name=platform/external/alsa-lib path=external/alsa-lib/ project name=platform/hardware/alsa_sound path=hardware/ alsa_sound/ /manifest I changed

[android-porting] ALSA with TWL4030 on OMAP

2009-02-23 Thread malkin.pe...@gmail.com
Hello. I have weird stuff going. I built android (1.5 i believe) with ALSA. If I use this kernel with normal filesystem(so that Android does not take over sound device), I can run aplay and play wavs. But when Android loads, media service dies repetitively. From time to time i can hear weird

[android-porting] alsa-lib error during porting android to beagle

2009-02-18 Thread Harishkumar V
Hi, i have download recent manifest from android git source. also, beagle-android-2.6.27 kernel from beagle wiki page. i followed all the instructions as mentioned in the wiki. i am getting error, arget StaticLib: libasound

[android-porting] ALSA - ASoC Debug crash With Music applications. Is sample rate an issue

2009-02-06 Thread Naveen Krishna Ch
Hi all, I have an issue with the audio in Android. I suspect the sample rates being the cause. Synopsis as follows Android 1.0 release with WindRiver's ALSA patch for audio and Hardware consists of OMAP3430 + TWL4030(Audio codec) TWL4030 audio CODEC driver is ASoC instead of ALSA With the