Re: [flac-dev] slow on apple silicon?

2022-07-05 Thread brianw
You raise excellent questions. I have not been paying attention to Apple's compiler support for the M1, M1 Pro, and M1 Max. Do you have the latest compiler from Apple? Are you sure that -O3 is the best option? I seem to recall that the 'best' has changed over the years. I also recall that Appl

Re: [flac-dev] Enabling universal building of libFLAC

2022-09-18 Thread brianw
When you refer to "runtime variables," do you really mean build time? It's not really an option to wait until flac runs to determine the runtime architecture. I suspect you mean make variables that are used at build time. I would assume that the source code does not need to change in order to su

Re: [flac-dev] Enabling universal building of libFLAC

2022-09-18 Thread brianw
22, at 4:19 PM, Martijn van Beurden wrote: > > Op zo 18 sep. 2022 om 16:06 schreef brianw : >> When you refer to "runtime variables," do you really mean build time? > > Yes, build time. That was formulated wrong. > >> I would assume that the source code d

Re: [flac-dev] Permit running tests as root

2022-09-27 Thread brianw
I think it's a really bad idea to run anything as root, unless absolutely necessary. Isn't this why sudo has become standard? It seems that modern systems do not even have a root account, and expect users to execute most commands with reduced privileges. Skipping a valid test because someone is

Re: [flac-dev] Looking for users of --keep-foreign-metadata

2022-10-30 Thread brianw
I use this feature whenever archiving audio files created by specific hardware, where the metadata might be important to retain for the future. There are also specific software examples where added metadata is important to preserve. I have not looked into the details, so I can't give an opinion

Re: [flac-dev] Looking for users of --keep-foreign-metadata

2022-10-31 Thread brianw
On Oct 30, 2022, at 10:21 PM, Federico Miyara wrote: >> - There is a generally-accepted industry practice concerning these extra >> chunks that points out that it's problematic to preserve all types of chunks >> when editing the audio. For example, a visual overview or a cue list might >> easil

Re: [flac-dev] custom metadata extended to FLAC

2022-11-03 Thread brianw
Depending upon how this data is added to the files, you could potentially use FLAC application blocks/chunks. Of course, if you're not able to make changes to the software you're using, then you only have the option of adding the metadata to WAV or AIFF and preserving it in FLAC. Brian p.s. I

Re: [flac-dev] Feedback on implementation of decoding of chained streams

2024-09-01 Thread brianw
Hello, Is there an overview - in plain English - summarizing the API changes? I realize that the github page linked below has the actual code changes, but I was hoping for a design overview. I do see comments and discussion, but did not readily find any overview. If I missed something, please h

Re: [flac-dev] C API: How to get a seektable for very long files?

2024-10-14 Thread brianw
Many hardware and software developers allow the user to set a maximum file size. When a live recording reaches this limit, a new file is created to continue the recording without losing a single sample. Note that many software programs allow multiple files to be concatenated without any gap. I h

Re: [flac-dev] C API: How to get a seektable for very long files?

2024-10-15 Thread brianw
I am not an SDR user, but I think it would be a great idea to design and register an application metadata block for FLAC that supports these needs. The fields in this application-specific metadata block could document how many files there are in total; which file in the sequence the current file

Re: [flac-dev] flac decoder output buffer alignment

2025-03-16 Thread brianw
I believe that the SSE/AVX hardware engine only works with aligned buffers. That said, I also believe that macOS already aligns buffers, even with simple malloc(), although I might be wrong. At the very least, there is surely a CoreAudio memory allocation function that aligns buffers for audio,

[flac-dev] Re: --skip and --until with total sample count of 0

2025-06-17 Thread brianw
You can't get rid of --skip and --until All of the file formats that the flac command line supports are limited to 4 GB or 2 GB, and there are hardware recorders that support recording directly into FLAC. So, there would be no way to uncompress a 4 GB FLAC file without some ability to extract o

[flac-dev] Re: Moving discussion off flac-dev to somewhere else

2025-06-15 Thread brianw
Hello, I am another long-timer, being one of the earlier contributors to the open source command-line tool, and I would also prefer that the mailing list be kept. There are advantages and disadvantages to each online communication option. Over the decades, I have noticed that email lists are fa

[flac-dev] Re: --skip and --until with total sample count of 0

2025-06-18 Thread brianw
On Jun 18, 2025, at 11:35 AM, Martijn van Beurden wrote: > On 18 Jun 2025, at 08:33, brianw wrote: >> >> You can't get rid of --skip and --until >> >> All of the file formats that the flac command line supports are limited to 4 >> GB or 2 GB &g