[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Re: Review Request: phonon phive core frontend api
From:       Matěj_Laitl <matej () laitl ! cz>
Date:       2012-09-29 12:26:18
Message-ID: 20120929122618.20979.53077 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106566/#review19569
-----------------------------------------------------------



core/Player.h
<http://git.reviewboard.kde.org/r/106566/#comment15557>

    Missing documentation, e.g. if calling pause() on a Stopped Player has =
any effect etc.



core/Player.h
<http://git.reviewboard.kde.org/r/106566/#comment15549>

    aboutToFinish() gone?
    =

    I wanted to comment on aboutToFinish() - it is currently very tricky to=
 use that because currently it is sometimes emitted twice or not at all per=
 one media source. I'd like if the docs would somehow limit this behaviour.



core/Queue.h
<http://git.reviewboard.kde.org/r/106566/#comment15558>

    Eya, is this a symbolic code? Otherwise this looks like it would cut th=
e track if aboutToFinish is emitted prematurely etc.



core/Source.h
<http://git.reviewboard.kde.org/r/106566/#comment15559>

    Bart, these are not class names..


- Mat=C4=9Bj Laitl


On Sept. 25, 2012, 11:06 a.m., Harald Sitter wrote:
> =

> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106566/
> -----------------------------------------------------------
> =

> (Updated Sept. 25, 2012, 11:06 a.m.)
> =

> =

> Review request for Amarok and Phonon.
> =

> =

> Description
> -------
> =

> phonon phive core frontend api
> =

> =

> Diffs
> -----
> =

>   core/AudioDataOutput.h PRE-CREATION =

>   core/AudioDataOutput.cpp PRE-CREATION =

>   core/AudioOutput.h PRE-CREATION =

>   core/AudioOutput.cpp PRE-CREATION =

>   core/BackendCapabilities.h PRE-CREATION =

>   core/BackendCapabilities.cpp PRE-CREATION =

>   core/OutputEffect.h PRE-CREATION =

>   core/OutputEffect.cpp PRE-CREATION =

>   core/Player.h PRE-CREATION =

>   core/Player.cpp PRE-CREATION =

>   core/Queue.h PRE-CREATION =

>   core/Queue.cpp PRE-CREATION =

>   core/Source.h PRE-CREATION =

>   core/Source.cpp PRE-CREATION =

>   core/VideoDataOutput.h PRE-CREATION =

>   core/VideoDataOutput.cpp PRE-CREATION =

>   core/abstract/AbstractAudioOutput.h PRE-CREATION =

>   core/abstract/AbstractAudioOutput.cpp PRE-CREATION =

>   core/abstract/AbstractMediaStream.h PRE-CREATION =

>   core/abstract/AbstractMediaStream.cpp PRE-CREATION =

>   core/abstract/AbstractVideoOutput.h PRE-CREATION =

>   core/abstract/AbstractVideoOutput.cpp PRE-CREATION =

>   core/core.pro PRE-CREATION =

>   core/effects/SubtitleEffect.h PRE-CREATION =

>   core/effects/SubtitleEffect.cpp PRE-CREATION =

>   core/five_global.h PRE-CREATION =

> =

> Diff: http://git.reviewboard.kde.org/r/106566/diff/
> =

> =

> Testing
> -------
> =

> =

> Thanks,
> =

> Harald Sitter
> =

>


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/106566/">http://git.reviewboard.kde.org/r/106566/</a>
  </td>
    </tr>
   </table>
   <br />









<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/106566/diff/1/?file=87102#file87102line24" \
style="color: black; font-weight: bold; text-decoration: \
underline;">core/Player.h</a>  <span style="font-weight: normal;">

     (Diff revision 1)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
"></pre></td>  <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: \
0; ">public:</pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">24</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="kt">void</span> <span class="n">play</span><span \
class="p">();</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">25</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="kt">void</span> <span class="n">pause</span><span \
class="p">();</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">26</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="kt">void</span> <span class="n">stop</span><span \
class="p">();</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Missing \
documentation, e.g. if calling pause() on a Stopped Player has any effect etc.</pre> \
</div> <br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/106566/diff/1/?file=87102#file87102line42" \
style="color: black; font-weight: bold; text-decoration: \
underline;">core/Player.h</a>  <span style="font-weight: normal;">

     (Diff revision 1)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
"></pre></td>  <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: \
0; ">public:</pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">42</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span \
class="nl">signals:</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">43</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="kt">void</span> <span class="n">stateChanged</span><span \
class="p">(</span><span class="n">State</span> <span class="n">newState</span><span \
class="p">,</span> <span class="n">State</span> <span class="n">oldState</span><span \
class="p">);</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">44</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">    <span \
class="kt">void</span> <span class="n">finished</span><span \
class="p">();</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">aboutToFinish() gone?

I wanted to comment on aboutToFinish() - it is currently very tricky to use that \
because currently it is sometimes emitted twice or not at all per one media source. \
I&#39;d like if the docs would somehow limit this behaviour.</pre> </div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/106566/diff/1/?file=87104#file87104line44" \
style="color: black; font-weight: bold; text-decoration: underline;">core/Queue.h</a> \
<span style="font-weight: normal;">

     (Diff revision 1)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
"></pre></td>  <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: \
0; ">class Queue {</pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">44</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span \
class="kt">void</span> <span class="n">handleAboutToFinish</span><span \
class="p">()</span> <span class="p">{</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">45</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            \
<span class="n">m_player</span><span class="o">-&gt;</span><span \
class="n">setSource</span><span class="p">(</span><span class="n">m_items</span><span \
class="p">.</span><span class="n">takeFirst</span><span \
class="p">());</span></pre></td>  </tr>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">46</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span \
class="p">}</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Eya, is \
this a symbolic code? Otherwise this looks like it would cut the track if \
aboutToFinish is emitted prematurely etc.</pre> </div>
<br />

<div>




<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="http://git.reviewboard.kde.org/r/106566/diff/1/?file=87106#file87106line19" \
style="color: black; font-weight: bold; text-decoration: \
underline;">core/Source.h</a>  <span style="font-weight: normal;">

     (Diff revision 1)

    </span>
   </th>
  </tr>
 </thead>

 <tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
  <tr>

   <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; \
"></pre></td>  <td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: \
0; ">public:</pre></td>

  </tr>
 </tbody>




 
 



 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">19</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">        <span \
class="n">Stream</span><span class="p">,</span></pre></td>  </tr>

 </tbody>

</table>

<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; \
white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Bart, these \
are not class names..</pre> </div>
<br />



<p>- Matěj</p>


<br />
<p>On September 25th, 2012, 11:06 a.m., Harald Sitter wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Amarok and Phonon.</div>
<div>By Harald Sitter.</div>


<p style="color: grey;"><i>Updated Sept. 25, 2012, 11:06 a.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">phonon phive core frontend api</pre>  </td>
 </tr>
</table>





<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>core/AudioDataOutput.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/AudioDataOutput.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/AudioOutput.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/AudioOutput.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/BackendCapabilities.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/BackendCapabilities.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/OutputEffect.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/OutputEffect.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/Player.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/Player.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/Queue.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/Queue.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/Source.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/Source.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/VideoDataOutput.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/VideoDataOutput.cpp <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/abstract/AbstractAudioOutput.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/abstract/AbstractAudioOutput.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/abstract/AbstractMediaStream.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/abstract/AbstractMediaStream.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/abstract/AbstractVideoOutput.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/abstract/AbstractVideoOutput.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/core.pro <span style="color: grey">(PRE-CREATION)</span></li>

 <li>core/effects/SubtitleEffect.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/effects/SubtitleEffect.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>core/five_global.h <span style="color: grey">(PRE-CREATION)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/106566/diff/" style="margin-left: \
3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>



_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic