<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_frameworks_wilhelm/src/handlers.h, branch cm-13.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_wilhelm/'/>
<entry>
<title>Bug 5198051 MediaPlayer PLAYEVENT_HEAD* callbacks</title>
<updated>2011-08-23T14:47:34+00:00</updated>
<author>
<name>Glenn Kasten</name>
<email>gkasten@google.com</email>
</author>
<published>2011-08-22T20:56:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_wilhelm/commit/?id=bcfe680db1e392f3bb29382c2e15e89c3af783ed'/>
<id>bcfe680db1e392f3bb29382c2e15e89c3af783ed</id>
<content type='text'>
Change-Id: Ibb04fbf727997281bb77fd22c51cd90bd044e505
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ibb04fbf727997281bb77fd22c51cd90bd044e505
</pre>
</div>
</content>
</entry>
<entry>
<title>Call AudioTrack start, stop, and pause when needed</title>
<updated>2011-06-29T17:51:19+00:00</updated>
<author>
<name>Glenn Kasten</name>
<email>gkasten@google.com</email>
</author>
<published>2011-06-29T15:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_wilhelm/commit/?id=f4647bf85968ab30eb07f9a80b99177d91068f94'/>
<id>f4647bf85968ab30eb07f9a80b99177d91068f94</id>
<content type='text'>
These AudioTrack operations are relatively expensive Binder calls (and
will soon be even more expensive to fix a deadlock at AudioTrack::start),
and they were being called excessively.  Now AudioTrack start, stop,
and pause are only called when there is an actual play state change.

Details:
 - distinguish ATTR_TRANSPORT vs. ATTR_PLAY_STATE for audio players
 - android_audioPlayer_setPlayState is only called when the play state changes
 - handler_AudioPlayer_transport is only called for transport changes other than play state
 - android_audioPlayer_setPlayState is always called with mutex locked
 - since media player currently only handles play state, handler_MediaPlayer_transport
   is still called for both ATTR_TRANSPORT and ATTR_PLAY_STATE
 - since the handlers for ATTR_BQ_ENQUEUE and ATTR_ABQ_ENQUEUE are only called if in
   state PLAYING, changed an "if" to an "assert"

Change-Id: Iee2968fd98d215885b7105053bb1604f962ea337
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These AudioTrack operations are relatively expensive Binder calls (and
will soon be even more expensive to fix a deadlock at AudioTrack::start),
and they were being called excessively.  Now AudioTrack start, stop,
and pause are only called when there is an actual play state change.

Details:
 - distinguish ATTR_TRANSPORT vs. ATTR_PLAY_STATE for audio players
 - android_audioPlayer_setPlayState is only called when the play state changes
 - handler_AudioPlayer_transport is only called for transport changes other than play state
 - android_audioPlayer_setPlayState is always called with mutex locked
 - since media player currently only handles play state, handler_MediaPlayer_transport
   is still called for both ATTR_TRANSPORT and ATTR_PLAY_STATE
 - since the handlers for ATTR_BQ_ENQUEUE and ATTR_ABQ_ENQUEUE are only called if in
   state PLAYING, changed an "if" to an "assert"

Change-Id: Iee2968fd98d215885b7105053bb1604f962ea337
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor the handling of updates to attributes</title>
<updated>2011-04-12T17:18:32+00:00</updated>
<author>
<name>Glenn Kasten</name>
<email>gkasten@google.com</email>
</author>
<published>2011-04-07T19:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_wilhelm/commit/?id=7b726bdcd996f1cab3a584c04ce1afc07bc8fbe7'/>
<id>7b726bdcd996f1cab3a584c04ce1afc07bc8fbe7</id>
<content type='text'>
Attribute handler functions are more modular and
get rid of those endless if statements.

Change-Id: I3221aeb3d26d2dcc5dc9a3f6d37d088f5ce511a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Attribute handler functions are more modular and
get rid of those endless if statements.

Change-Id: I3221aeb3d26d2dcc5dc9a3f6d37d088f5ce511a1
</pre>
</div>
</content>
</entry>
</feed>
