summaryrefslogtreecommitdiffstats
path: root/media/java
Commit message (Collapse)AuthorAgeFilesLines
* Name unknown albums after the folder they're in, similar to how songsMarco Nelissen2009-07-311-0/+20
| | | | | with no title metadata are named after the file. Only files that are in the root of the card will still belong to the "Unknown Album"
* Clear singleton reference during JetPlayer.release()Phil Dubach2009-07-301-0/+1
| | | | | | | | Only one JetPlayer instance is supported at a time. A singleton reference is created and returned in JetPlayer.getInstance(). When calling release() on the instance, the corresponding native player is finalized. Therefore, release() must also clear the singleton reference, so that any subsequent call to getInstance() re-initializes the native player.
* Merge change 7726 into donutAndroid (Google) Code Review2009-07-181-4/+6
|\ | | | | | | | | * changes: Fix issue 1985479 lots of backup NPEs.
| * Fix issue 1985479 lots of backup NPEs.Eric Laurent2009-07-171-4/+6
| | | | | | | | Check that stream type is not STREAM_BLUETOOTH_SCO before writting to settings.
* | MediaScanner: Add check for null object in empty title handling code.Mike Lockwood2009-07-171-1/+1
|/ | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* Fix bug that would cause files with blank title tags to not be shown in the ↵Marco Nelissen2009-07-161-1/+1
| | | | music app.
* Merge change 6208 into donutAndroid (Google) Code Review2009-07-082-116/+522
|\ | | | | | | | | * changes: Move ExifInterface to android.media package so we can reference it from MediaScanner. Also hide public constructor and wrap common use cases as atomic operation to avoid race condition in jhead native codes.
| * Move ExifInterface to android.media package so we can reference it from ↵repo sync2009-07-082-116/+522
| | | | | | | | | | | | | | MediaScanner. Also hide public constructor and wrap common use cases as atomic operation to avoid race condition in jhead native codes.
* | Fix issue 1967295: Add a method to request reloading of audio settings by ↵Eric Laurent2009-07-083-5/+63
|/ | | | AudioService.
* Fix issue 1743700: AudioTrack: setPlaybackRate can not set the playback rate ↵Eric Laurent2009-07-071-14/+7
| | | | | | | | to twice of the ouputSR Store sample rate on 32 bits instead of 16 bits in audio_track_cblk_t. Removed sampleRate() methods from AudioTrack and AudioRecord: replaced by getSampleRate(). AudioTrack::setSampleRate() no returns a status.
* Don't trim() in the mediascanner, as that would remove the special "sort ↵Marco Nelissen2009-07-061-1/+4
| | | | first" character.
* Make sure ringtones are sorted correctly.Marco Nelissen2009-07-061-4/+7
|
* Fill in CDMA gaps and clean up ToneGenerator codeDavid Krause2009-06-231-168/+465
|
* AudioService: Fix routing problem recently introduced in setRouting().Mike Lockwood2009-06-161-4/+4
| | | | | | | Do not disable a route unless routes is zero, to avoid accidentally disabling if the same route is enabled twice in a row. Signed-off-by: Mike Lockwood <lockwood@android.com>
* Merge change 4047 into donutAndroid (Google) Code Review2009-06-121-18/+35
|\ | | | | | | | | * changes: Fix issue #899198 MODE_RINGER_STREAMS_AFFECTED does not restore volumes correctly
| * Fix issue #899198 MODE_RINGER_STREAMS_AFFECTED does not restore volumes ↵Eric Laurent2009-06-121-18/+35
| | | | | | | | | | | | | | | | | | | | correctly The problem is that setRingerModeInt() does not handle streams not affected by ringer mode: when enabling "Alarm in silent mode" while in silent mode, setRingerModeInt is called after alarm streamis removed from ringer mode affected streams, and nothing is done. The fix constists in also processing streams that are not affected by ringer mode and to restore last audible volume for them. It does not arm reapplying the volume for streams the are never affected by ringer mode as we don't do this very often. The other problem noted in the bug report (ringer volume always restored to non zero value when exiting silent mode even if set to zero before) is also fixed: a new parameter is added to setIndex() and setStreamVolumeInt() to explicitely request to store the volume index as last audible instead of doing it automatically if index > 0.
* | Removed trailing whitespaces.Nicolas Catania2009-06-111-178/+178
|/
* Print a message to the log when a file can't be opened on the client side.Marco Nelissen2009-06-091-0/+1
|
* NJ-1409: (frameworks/base) Support new audio encoding types(AMR and AAC).Jianhong Jiang2009-06-081-4/+72
|
* Merge change 2716 into donutAndroid (Google) Code Review2009-05-291-1/+11
|\ | | | | | | | | * changes: Update MediaPlayer to allow setVideoSurface calls after prepare. Also allow passing a null surface. The API is now enabled to change the surface while the video is playing. This could allow orientation changes during playback or to allow the audio track from a video to play in the background. NOTE: There are still changes required to pmem driver to allow remapping shared physical memory into a process in order for this to work. This change only enables the API to send the appropriate calls when the lower level code supports it.
| * Update MediaPlayer to allow setVideoSurface calls after prepare. Also allowDave Sparks2009-05-291-1/+11
| | | | | | | | | | | | | | | | | | | | passing a null surface. The API is now enabled to change the surface while the video is playing. This could allow orientation changes during playback or to allow the audio track from a video to play in the background. NOTE: There are still changes required to pmem driver to allow remapping shared physical memory into a process in order for this to work. This change only enables the API to send the appropriate calls when the lower level code supports it.
* | Motorola additions for CDMA support without CdmaSuppConnTrackerWink Saville2009-05-281-40/+279
|/ | | | | There are corresponding changes to hardware/ril and packages/apps/Phone that are required to go with these changes.
* Fix issue 1846343 - part 1Eric Laurent2009-05-262-10/+19
| | | | | | | | This change is the first part of a fix for issue 1846343, : - Added new enum values for input sources in AudioRecord and MediaRecorder for voice uplink, downlink and uplink+downlink sources. - renamed streamType to inputSource in all native functions handling audio record. A second change is required in opencore author driver and android audio input to completely fix the issue.
* Document the media scanner's flow through native and java code, sinceMarco Nelissen2009-05-191-1/+39
| | | | I always forget how it works after a while.
* Findbugs fixes.Marco Nelissen2009-05-143-8/+5
|
* Fixed issue 1709450: Requirements for CDMA Tone GeneratorEric Laurent2009-05-061-8/+58
| | | | | | | | | | Added new tone types for CDMA IS-95 specific tones. Automatic selection between IS-95, CEPT and JAPAN version base on operator country code for call supervisory tones. Also improved tone generator capabilities: - Each tone segment can now generate its own set of frequencies - A tone does not have to be a succession of alternating ON/OFF segments - The sequence repetition does not have to start from first segment
* fix issue 1713090: After a Bluetooth call, MusicPlayer starts playing on ↵Eric Laurent2009-05-062-36/+217
| | | | | | | | speaker rather than wired external audio. Temporary fix until audio routing is refactored in Eclair release: - centralized and synchronized all audio routing control in AudioService.setRouting() - deprecated AudioManager.setRouting() and AudioManager.getRouting() methods
* Do case-insensitive matching when determining whether something is music, an ↵Marco Nelissen2009-04-221-5/+6
| | | | alarm sound, notification sound, etc.
* Fix issue 1745312: Various cleanups in media frameworkEric Laurent2009-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | AudioTrack, AudioRecord: - remove useless mAudioFlinger member of AudioTrack and AudioRecord. - signal cblk.cv condition in stop() method to speed up stop completion. - extend wait condition timeout in obtainBuffer() when waitCount is -1 to avoid waking up callback thread unnecessarily AudioFlinger: - remove some warnings in AudioFlinger.cpp. - remove function AudioFlinger::MixerThread::removetrack_l() as its content is never executed. - remove useless call to setMasterVolume in AudioFlinger::handleForcedSpeakerRoute(). - Offset VOICE_CALL stream volume to reflect actual volume that is never 0 in hardware (this fix has been made in the open source): 0.01 + v * 0.99. AudioSystem.java: - correct typo in comment IAudioflinger, IAudioFlingerClient: - make AudioFlinger binder interfaces used for callbacks ONEWAY. AudioHardwareInterface: - correct routeStrings[] table in AudioHardwareInteface.cpp
* AI 147035: am: CL 147032 Finalize JetPlayer javadoc.Jean-Michel Trivi2009-04-201-8/+165
| | | | | | | Original author: jmtrivi Merged from: //branches/cupcake/... Automated import of CL 147035
* AI 146938: am: CL 146937 Finalize AudioRecord javadoc.Jean-Michel Trivi2009-04-201-35/+46
| | | | | | | Original author: jmtrivi Merged from: //branches/cupcake/... Automated import of CL 146938
* AI 146755: am: CL 146754 Fix some problems in the SoundPool docs and add ↵Dave Sparks2009-04-171-38/+95
| | | | | | | | | additional text. Original author: davidsparks Merged from: //branches/cupcake/... Automated import of CL 146755
* AI 146752: am: CL 146751 Finalize AudioTrack javadoc.Jean-Michel Trivi2009-04-171-44/+67
| | | | | | | Original author: jmtrivi Merged from: //branches/cupcake/... Automated import of CL 146752
* AI 146668: am: CL 146667 Add advice in MediaRecorder Java docs about using ↵Dave Sparks2009-04-161-0/+4
| | | | | | | | | MPEG-4 container format Original author: davidsparks Merged from: //branches/cupcake/... Automated import of CL 146668
* AI 146655: am: CL 146654 Add java docs for SoundPoolDave Sparks2009-04-161-1/+189
| | | | | | | Original author: davidsparks Merged from: //branches/cupcake/... Automated import of CL 146655
* AI 145778: Manual merge changes 145382-145384 from cupcake.Andy Stadler2009-04-101-1/+0
| | | | Automated import of CL 145778
* Automated import from //branches/donutburger/...@142376,142376Jean-Michel Trivi2009-03-241-5/+21
|
* Automated import from //branches/donutburger/...@141213,141213Niko Catania2009-03-241-11/+1
|
* Automated import from //branches/donutburger/...@140811,140811Niko Catania2009-03-241-2/+0
|
* Automated import from //branches/donutburger/...@140800,140800Niko Catania2009-03-241-2/+0
|
* Automated import from //branches/donutburger/...@140566,140566Jean-Michel Trivi2009-03-241-87/+74
|
* Automated import from //branches/donutburger/...@140507,140507Jason Parekh2009-03-241-29/+54
|
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-185-120/+134
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-1/+60
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-16/+98
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-98/+84
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0332-0/+11837
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0332-11637/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-038-295/+96
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-028-96/+295
|