Rockbox

  • Status New
  • Percent Complete
    0%
  • Task Type Patches
  • Category ID3 / meta data
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by fg - 2011-12-27
Last edited by fg - 2011-12-27

FS#12490 - WPS tag for number of channels

This patch adds a %ch tag that returns the number of channels in the current file.

Unfortunately, the large majority of codecs don't fill in this field in struct mp3entry. In the codecs covered by the rockbox testfiles collection, only atrac, cook and tta actually work.

I don't think it makes much sense to commit this with so few supported codecs, so help is appreciated on the codec side of things

Admin
fg commented on 2011-12-27 22:21

This patch uses the DSP setup instead of the codec metadata. It should work for all codecs, but it won't know if a file has more than two channels and is downmixed.

wont it always show 2 channels then?
also, it should use i<something> instead of %ch to go along with all the other metadata related tags

dfkt commented on 2011-12-28 12:53

Isn't this more fitting into the %f-something file info category than into the metadata one? At least with the second patch, methinks.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing