|
| From: | Damjan Angelovski |
| Subject: | [Octave-bug-tracker] [bug #47464] audioformats: a new function to get information on supported audio formats |
| Date: | Tue, 29 Mar 2016 21:15:33 +0000 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/49.0.2623.87 Chrome/49.0.2623.87 Safari/537.36 |
Follow-up Comment #3, bug #47464 (project octave):
This implementation:
- queries the sndfile library with functions __NumAudFormats__
__AudMajorFormats__ and __AudSubFormats__ in audioread.cc
- has no documentation
- has no error handling
- has no formal tests
- the old audformats function is commented because we dont need add/remove
functionality (and no error handling yet)
- the pretty_print is commented as we have a list of lists here and a table
representation wont work well
- you cant pass a format as an argument, to get its specs
I will fix the things mentioned above (where needed) and will tidy up the
code. Just need to know if it is good so far.
(file #36796)
_______________________________________________________
Additional Item Attachment:
File name: audformats2.diff Size:14 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47464>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |