Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  codec failure message
« previous next »
  • Print
Pages: [1]

Author Topic: codec failure message  (Read 3269 times)

Offline Hweb21

  • Member
  • *
  • Posts: 164
codec failure message
« on: February 08, 2007, 09:24:29 PM »


What causes this?
started topic in this thread
http://www.iaudiophile.net/forums/showthread.php?t=11787&page=23
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: codec failure message
« Reply #1 on: February 08, 2007, 09:27:32 PM »
And this happens with an official build? What is the most recent revision you've experienced this, and can you give an exact way to duplicate this?

The thread you linked to is about an unofficial build.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: codec failure message
« Reply #2 on: February 08, 2007, 09:48:55 PM »
Sorry, it is with an unofficial build.
I meant to say is what buffers are linked to the audio playback buffer?
ex. font buffer
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: codec failure message
« Reply #3 on: February 08, 2007, 09:52:03 PM »
The compressed audio buffer uses all the memory not used by anything else. In the info->debug->view audio thread, you can see how many total bytes are used by the audio buffer after codec:

I imagine on the X5 it'll be in the 12000000+ range (12mb or more) though I can't guess exactly.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: codec failure message
« Reply #4 on: February 08, 2007, 09:58:00 PM »
So, then if something else uses too much of the buffer and there is not much left for the audio buffer than it can't play music which might lead into that message. Right?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: codec failure message
« Reply #5 on: February 08, 2007, 10:03:29 PM »
The problem is most likely a bug in the patches.

Unless you can confirm this with an official build, there's no point in discussing it here. A situation such as you have described would in essence be impossible to cause with the official build, but I don't know what'd happen if you modified Rockbox to the extent where it could happen.

Besides, I already told you how you can *check* how much codec buffer is left. You can confirm if a very small codec buffer is even happening by just looking.
« Last Edit: February 08, 2007, 10:06:35 PM by Llorean »
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: codec failure message
« Reply #6 on: February 08, 2007, 10:27:51 PM »
Thx,
Max = 12mb in official build
Max = 11mb in unofficial build
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: codec failure message
« Reply #7 on: February 08, 2007, 10:28:59 PM »
More than enough, either way.

The Archoses get by with ~1.1mb in many cases.
Logged

Offline Hweb21

  • Member
  • *
  • Posts: 164
Re: codec failure message
« Reply #8 on: February 08, 2007, 10:33:04 PM »
whats pcm?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: codec failure message
« Reply #9 on: February 08, 2007, 10:36:35 PM »
The uncompressed buffer. That doesn't change in size.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  codec failure message
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.066 seconds with 14 queries.