Re: [mpg123-users] Trying to understand MPG123_NEW_FORMAT
Brought to you by:
sobukus
From: Martin G. <mar...@gm...> - 2024-07-04 10:23:39
|
On 7/3/24 22:01, Thomas Orgis wrote: > Am Wed, 3 Jul 2024 21:01:19 +0200 schrieb Martin Guy <mar...@gm...>: >> My question is whether the new format applies to the data returned by >> the call that returned NEW_FORMAT, or whether the new format applies to >> data returned by the successive calls to mpg123_read (i.e. are the 24576 >> bytes mono data, or the 1536 bytes?) > > MPG123_NEW_FORMAT=-11, /**< Message: Output format will be > different on next call. Many thanks. How did I miss that, it's in the web docs for MPG123_NEW_FORMAT. Now it ploughs through the rough terrain without stopping and, mapping the mono blip to stereo, makes a slightly different burp. It has also fixed two other MP3 files that died half way through, so it's not a lone case. I can only suggest that in the "Returns" section for mpg123_read() to list MPG123_NEW_FORMAT as a possible return value with a link to its description, if that's possible. It's not important (the info is there if you look in the right place) but it might help anyone as stupid as me to find it instead of making noise here. :) Seriously though, thanks again. mpg123 rocks. M |