[android-porting] audio effect getting disabled automatically

2014-03-02 Thread qqwen10


Hi everyone. 


I am having a problem regarding audio effects. The auxillary effect is 
getting disabled automatically.  


There is an auxiliary effect declared in the system which enhances the 
volume of output (be it a music played or ring tone). These effects where 
ported from jellybean (4.1.2) to ics (4.0.4). 


Now when it is the only effect declared it works like a charm enhancing the 
volume ,but when a  INSERT effect is created (like equalizer) the auxiliary 
effect changes  state to 0,

when the equalizer effect is turned off ( by using music player interface) 
the auxiliary effect gets enabled again.


I have seen this behavior with other music players also.So the chance of 
one particular music player causing this problem alone is null


My system: ICS 4.0.4

sound effects ported from jelly bean (4.1.2)


expecting your expertise to solve this




-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
android-porting group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-porting] Re: Kitkat porting on custom hardware

2014-03-02 Thread 元平徐


在 2014年2月23日星期日UTC+8下午8时19分18秒,Satish Aradhya写道:

 Hi, all,

  I have ported kitkat to our new hardware.
  But still im seeing Jelly Bean  home screen and icon tiles also looks 
 JB layout.

   by ADB shell, if we query of android version it gives 4.4.2 

   
  What should I do? Do I missed any other while porting..



Hello,My name is jefby, i also want to  port KitKat to Arndale Octa 
Board,but i don't know how to start,could you please share your experience 
for me??

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
android-porting group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-porting] Re: 3.1 Kernel for Tegra 2

2014-03-02 Thread Stephen Proffitt
The github for this kernel is here:
https://github.com/4ptiv4/Thrive-3.1_kernel/tree/jb_mr0

This is the specific branch. I have commented out the light sensor in my 
for now to move past it and work out other errors so you will see that.


On Thursday, February 27, 2014 1:17:17 PM UTC-5, Stephen Proffitt wrote:

 I know that there isn't an official 3.1 kernel for a Tegra 2 however, I've 
 started working on getting one ported, but I'm running into a snag with 
 drivers.

 After working out GPIO issues, I'm having a problem with the light sensor 
 (isl29018 specifically). Every time I've tried to build, I get this error:

 drivers/staging/iio/light/isl29018.c: In function 'isl29018_write_raw':
 drivers/staging/iio/light/isl29018.c:356: error: 
 'IIO_CHAN_INFO_CALIBSCALE_SEPARATE' undeclared (first use in this function)
 drivers/staging/iio/light/isl29018.c:356: error: (Each undeclared 
 identifier is reported only once
 drivers/staging/iio/light/isl29018.c:356: error: for each function it 
 appears in.)
 drivers/staging/iio/light/isl29018.c: In function 'isl29018_read_raw':
 drivers/staging/iio/light/isl29018.c:396: error: 
 'IIO_CHAN_INFO_CALIBSCALE_SEPARATE' undeclared (first use in this function)
 drivers/staging/iio/light/isl29018.c: At top level:
 drivers/staging/iio/light/isl29018.c:415: error: 
 'IIO_CHAN_INFO_CALIBSCALE_SEPARATE' undeclared here (not in a function)
 drivers/staging/iio/light/isl29018.c:426: error: expected ')' before '(' 
 token
 drivers/staging/iio/light/isl29018.c:427: error: expected ')' before 
 string constant
 drivers/staging/iio/light/isl29018.c:428: error: expected ')' before 
 string constant
 drivers/staging/iio/light/isl29018.c:429: error: expected ')' before '(' 
 token
 drivers/staging/iio/light/isl29018.c:432: error: expected ')' before '(' 
 token
 drivers/staging/iio/light/isl29018.c:439: error: 'iio_dev_attr_range' 
 undeclared here (not in a function)
 drivers/staging/iio/light/isl29018.c:439: error: request for member 
 'dev_attr' in something not a structure or union
 drivers/staging/iio/light/isl29018.c:439: error: request for member 'attr' 
 in something not a structure or union
 drivers/staging/iio/light/isl29018.c:439: error: initializer element is 
 not constant
 drivers/staging/iio/light/isl29018.c:439: error: (near initialization for 
 'isl29018_attributes[0]')
 drivers/staging/iio/light/isl29018.c:440: error: 
 'iio_const_attr_range_available' undeclared here (not in a function)
 drivers/staging/iio/light/isl29018.c:440: error: request for member 
 'dev_attr' in something not a structure or union
 drivers/staging/iio/light/isl29018.c:440: error: request for member 'attr' 
 in something not a structure or union
 drivers/staging/iio/light/isl29018.c:440: error: initializer element is 
 not constant
 drivers/staging/iio/light/isl29018.c:440: error: (near initialization for 
 'isl29018_attributes[1]')
 drivers/staging/iio/light/isl29018.c:441: error: 
 'iio_dev_attr_adc_resolution' undeclared here (not in a function)
 drivers/staging/iio/light/isl29018.c:441: error: request for member 
 'dev_attr' in something not a structure or union
 drivers/staging/iio/light/isl29018.c:441: error: request for member 'attr' 
 in something not a structure or union
 drivers/staging/iio/light/isl29018.c:441: error: initializer element is 
 not constant
 drivers/staging/iio/light/isl29018.c:441: error: (near initialization for 
 'isl29018_attributes[2]')
 drivers/staging/iio/light/isl29018.c:442: error: 
 'iio_const_attr_adc_resolution_available' undeclared here (not in a 
 function)
 drivers/staging/iio/light/isl29018.c:442: error: request for member 
 'dev_attr' in something not a structure or union
 drivers/staging/iio/light/isl29018.c:442: error: request for member 'attr' 
 in something not a structure or union
 drivers/staging/iio/light/isl29018.c:442: error: initializer element is 
 not constant
 drivers/staging/iio/light/isl29018.c:442: error: (near initialization for 
 'isl29018_attributes[3]')
 drivers/staging/iio/light/isl29018.c:443: error: 
 'iio_dev_attr_proximity_on_chip_ambient_infrared_supression' undeclared 
 here (not in a function)
 drivers/staging/iio/light/isl29018.c:443: error: request for member 
 'dev_attr' in something not a structure or union
 drivers/staging/iio/light/isl29018.c:443: error: request for member 'attr' 
 in something not a structure or union
 drivers/staging/iio/light/isl29018.c:443: error: initializer element is 
 not constant
 drivers/staging/iio/light/isl29018.c:443: error: (near initialization for 
 'isl29018_attributes[4]')
 make[4]: *** [drivers/staging/iio/light/isl29018.o] Error 1
 make[3]: *** [drivers/staging/iio/light] Error 2
 make[2]: *** [drivers/staging/iio] Error 2
 make[1]: *** [drivers/staging] Error 2
 make: *** [drivers] Error 2


 I've looked over the file and all previous code blocks and there is 
 nothing missing. I've been looking over the board files and it seems to my 
 untrained eyes that the functions are