android
  #1  
Old 09-26-2010, 07:44 AM
mouthwatering mouthwatering is offline
Junior Member
 
Join Date: Aug 2010
Posts: 19
Default Clip+ and playlist limit

I have about ~10k tracks on a 8+16gb Clip+ and so far, this works very well. I've currently set the playlist size limit to 2k tracks. But occasionally I want to listen to all tracks on the Clip+ and the player breaks building the dynamic playlist when it reaches the 2000th track. Fair enough, that's what I told it.

My "problem" now is that I have no idea what this limit entails. It seems that if I set the limit to 8k or 11k, say, the player allocates some more memory for the playlist and less for the actual playback buffer. So far, so good. Does anyone have an idea about the real numbers involved in this? Ie a 10k playlist eats 12.5% of the memory and 87.5% are left for the music. Or whatever...?

Since the player is not hard disk based, I'd assume that the buffer size is not really so important anyway. Am I wrong in thinking that?

cheers wm
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 09-26-2010, 12:30 PM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,588
Default

Change the limit and then see how much audio buffer changes by in the debug screen.
Reply With Quote

  #3  
Old 09-27-2010, 04:22 AM
mouthwatering mouthwatering is offline
Junior Member
 
Join Date: Aug 2010
Posts: 19
Default

Quote:
Originally Posted by saratoga View Post
Change the limit and then see how much audio buffer changes by in the debug screen.
Yeah, I've already tried that but w/o luck. The only place where I could find something about playlists is in the "View OS Stacks" section. However, the number there is always 4%, whatever the value of the playlist size limit. Either I'm looking in the wrong place or it's a bit of information not available in the debug screen.

Anyway, as long as the player does work, the buffer size for audio shouldn't be much of a concern, I think...?

Cheers wm
Reply With Quote

  #4  
Old 09-27-2010, 02:16 PM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,588
Default

Quote:
Originally Posted by mouthwatering View Post
Yeah, I've already tried that but w/o luck. The only place where I could find something about playlists is in the "View OS Stacks" section. However, the number there is always 4%, whatever the value of the playlist size limit. Either I'm looking in the wrong place or it's a bit of information not available in the debug screen.

Anyway, as long as the player does work, the buffer size for audio shouldn't be much of a concern, I think...?

Cheers wm
Look for the screen that shows that size of the audio buffer. There should only be a few screens so its not too hard to find. Note the size before and after you change that setting. Subtract them. That is the number you want.
Reply With Quote

  #5  
Old 09-28-2010, 06:18 AM
mouthwatering mouthwatering is offline
Junior Member
 
Join Date: Aug 2010
Posts: 19
Default

Quote:
Originally Posted by saratoga View Post
Look for the screen that shows that size of the audio buffer. There should only be a few screens so its not too hard to find. Note the size before and after you change that setting. Subtract them. That is the number you want.
Ah yes. I found a number for "buffer" in the Rockbox Info screen, not in the Debug Menu. This shows 6.41mb for a playlist of 1000 with 1000 entries and 6.33mb for a playlist of 12000 with 10171 entries. Not much of a difference;-)

Thanks wm
Reply With Quote

  #6  
Old 09-28-2010, 09:06 AM
Timar Timar is offline
Member
 
Join Date: Apr 2010
Posts: 107
Default

That's really a huge buffer size - large enough to hold more than one minute of 16/44.1 audio, which seems quite exessive for a flash memory player. I wonder if it would make sense to have memory consuming options like this one enabled/set to a higher value by default for those devices which have enough memory anyway?

Last edited by Timar; 09-28-2010 at 09:14 AM.
Reply With Quote

  #7  
Old 09-28-2010, 09:15 AM
saratoga saratoga is offline
Rockbox Developer / Moderator
 
Join Date: Apr 2007
Posts: 3,588
Default

Quote:
Originally Posted by Timar View Post
That's really a huge buffer size - large enough to hold more than one minute of 16/44.1 audio, which seems quite exessive.
It holds compressed audio, not PCM, so its much more then 1 minute. Thats the idea, the more you hold in memory the less often you have to power up the NAND flash memory.

Quote:
Originally Posted by Timar View Post
I wonder if it would make sense to have memory consuming options like this one enabled/set to a higher value by default for those devices which have enough memory anyway?
I'm open to changing the default values to make them more target specific then they are, but I don't know much about this specific setting. Probably best to ask in IRC about it.
Reply With Quote

  #8  
Old 09-28-2010, 09:15 AM
mouthwatering mouthwatering is offline
Junior Member
 
Join Date: Aug 2010
Posts: 19
Default

Quote:
Originally Posted by Timar View Post
That's really a huge buffer size - large enough to hold more than one minute of 16/44.1 audio, which seems quite exessive. I wonder if it would make sense to have memory consuming options like this one enabled/set to a higher value by default for those devices which have enough memory anyway?
That's precisely the reason why I wanted to get a feel for the "real" numbers involved here.

And since I use only 64kb VBR WMA (on the Clip+, that is, on my PCs and the other players I use MP3) 6.3mb should be good for ~13 minutes music. That's more than enough so I will probably now switch on some of the caches.

Cheers wm
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:38 PM.