Hi Michael,

I'm not certain I follow your issue. What is your device subtype? I've 
taken out the -fno-short-enums as that is default on the newer baseline. 
Perhaps you could check "make hide=" and make sure that option is passed 
to the compiler.

Michael Trimarchi wrote:
> Hi,
>
> Sean McNeil wrote:
>   
>> You need to read frameworks/base/data/sounds/AudioPackage2.mk.
>>
>> Basically, there are 2 sets of audio files now. One for limited flash 
>> devices, one for those that have more room. So you have to include the 
>> .mk for the set that fits your environment. This would be done in your 
>> vendor/xxx/xxx/Android.mk or some place similar.
>>   
>>     
> Thanks , I have done now :), you are great...
> I have some trouble with the new patch on alsa. Maybe I fix with a 
> revert of
> your last commit, but It is
> related to somenthing compilation issue under freerunner.
>
> So when it try to open a device, it gives an error on the device 
> subtype, but I'm
> sure that always is correct. Do you have any idea. Last time I must 
> readd the short-enums
> option because crash in a function, but now every revert is impposible. 
> You work a lot
> on alsa side, can you give me some hint?
>
> Michael
>   
>> Michael Trimarchi wrote:
>>   
>>     
>>> Hi,
>>>
>>> Luca Belluccini wrote:
>>>   
>>>     
>>>       
>>>> Nothing to do... Database is not rebuilt... Any hint?
>>>>
>>>> On Apr 17, 2:31 am, Dave Sparks <davidspa...@android.com> wrote:
>>>>     
>>>>       
>>>>         
>>> I have the same problem:
>>>
>>> W/AudioService(  794): MediaPlayer IOException: java.io.IOException: 
>>> setDataSource failed.: status=0x80000000
>>> E/MediaPlayerService(  777): Couldn't open fd for 
>>> content://settings/system/ringtone
>>> E/MediaPlayer( 1121): Unable to to create media player
>>> E/RingtoneManager( 1121): Failed to open ringtone 
>>> content://settings/system/ringtone
>>> E/MediaPlayer( 1121): Unable to to create media player
>>> D/dalvikvm( 1121): GC freed 6212 objects / 451768 bytes in 143ms
>>> W/Ringtone( 1121): Couldn't set the stream type
>>> W/Ringtone( 1121): java.io.IOException: setDataSourceFD failed.: 
>>> status=0x80000000
>>> W/Ringtone( 1121):     at android.media.MediaPlayer.setDataSource(Native 
>>> Method)
>>> W/Ringtone( 1121):     at 
>>> android.media.Ringtone.openMediaPlayer(Ringtone.java:173)
>>> W/Ringtone( 1121):     at 
>>> android.media.Ringtone.setStreamType(Ringtone.java:87)
>>> W/Ringtone( 1121):     at 
>>> android.preference.VolumePreference$SeekBarVolumizer.initSeekBar(VolumePreference.java:154)
>>>
>>>
>>> How this url are mapped in the filesystem?
>>>
>>> Michael
>>>   
>>>     
>>>       
>>>>> From the shell: "wipe data"
>>>>>
>>>>> On Apr 16, 2:33 pm, Luca Belluccini <lucabellucc...@gmail.com> wrote:
>>>>>
>>>>>       
>>>>>         
>>>>>           
>>>>>> Mh... There's a command line way to do this? I'm on a real eeepc. I
>>>>>> don't think reset to default is able to fix this.
>>>>>> On 16 Apr, 22:18, Dave Sparks <davidspa...@android.com> wrote:
>>>>>>         
>>>>>>           
>>>>>>             
>>>>>>> This should happen automatically. Did reset the data partition?
>>>>>>> On Apr 16, 2:51 am, Luca Belluccini <lucabellucc...@gmail.com> wrote:
>>>>>>>           
>>>>>>>             
>>>>>>>               
>>>>>>>> I built the installer image for x86 (added include frameworks/base/
>>>>>>>> data/sounds/OriginalAudio.mk in mk files).
>>>>>>>> The ogg files are correctly placed under system/media/audio/
>>>>>>>> ringtones/.
>>>>>>>> When I go in settings panel, no ringtone is displayed.
>>>>>>>> In logcat, I can see:
>>>>>>>> MediaPlayerService: Couldn't open fd for 
>>>>>>>> content://settings/system/ringtone
>>>>>>>> MediaPlayer: Unable to create media player
>>>>>>>> RingtoneManager: Failed to open ringtone 
>>>>>>>> content://settings/system/ringtone
>>>>>>>> How to refresh content provider entries?
>>>>>>>>             
>>>>>>>>               
>>>>>>>>                 
>>>>>       
>>>>>         
>>>>>           
>>>     
>>>   
>>>     
>>>       
>>     
>>   
>>     
>
>
> >
>   


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

Reply via email to