Rockbox General > Rockbox General Discussion

Why does playlist insert replace the current playlist when stopped?

<< < (12/16) > >>

cc:

--- Quote from: Llorean on October 03, 2007, 08:42:29 AM ---Not starting playback on the first insert is fine, but Play and Pause will become the same button, functionally. The only difference will be whether the audio buffer is preserved or not, and functionally speaking, I think there's no reason not to always preserve the audio buffer, but if Paused, allow a plugin to empty it if necessary.

--- End quote ---

I looked at the code. Am I correct in thinking that the "plugin empties the buffer if necessary" functionality is already there? plugin_get_audio_buffer calls audio_stop before it returns the buffer.

Llorean:
There are plugins that refuse to start if audio is playing, rather than forcing a stop though.

fml2:
Hmm... while browsing through the forums, I've found the following quotes about the consistency:


--- Quote from: Llorean on January 22, 2007, 05:02:52 AM ---I guess I just don't understand why people see "convenience" being so much more important than consistency.

--- End quote ---

And this:


--- Quote from: Llorean on October 02, 2007, 07:53:19 AM ---so I still really don't see any benefit to your method other than what can be interpreted as "Consistency."
--- End quote ---

Is that the consistency? :-)

Llorean:
Notice I said "What CAN be interpreted as consistency" making it somewhat clear that to me it's rather dubious whether this is consistency or not.

Read my words carefully, and you'll notice that often the choices I make are important. ;)

I think it'd be consistent that the playlist isn't there when stopped, rather than it being consistent that Pause and Stop are actually the same state, just with different names (as the words do not actually mean the same thing).

cc:

--- Quote from: Llorean on October 04, 2007, 04:26:01 PM ---There are plugins that refuse to start if audio is playing, rather than forcing a stop though.

--- End quote ---

Could someone point me in the direction of a plugin that does this? I want to see what it does and I can't find one - the nearest is the jpeg viewer which gives you a choice before stopping the audio.

Also, is it platform specific?

(PS Llorean, any chance of unlocking that thread on the insert order? Or should I start another one?)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version