Skip to main content
Recent Posts
3rd Party Plugins - (fb2k) / Re: foo_sid
Last post by Akel -
songlength.txt includes every file in the STIL. I do not plan to write a way to modify the STIL documents. Storing the length in the tag only makes sense if I also offer a means to edit the length in the first place.
Ah, makes sense.
I wasn't thinking about writing THE length tag, though- My guess in how this works is that when the file is playback you check its checksum against the database, right? In that case I understand why is that proper length is only displayed when files are played. Loading that on boot would be a bottleneck if there were a lot of songs.
What I was wondering is, to be more exact, if you could make another tag ($SIDLength or something like that) that the plugin checks for upon loading SIDs into playlists, which you could add a menu option to write- either from Songlength.txt or with an user-inputted duration. That should use way less CPU time than checksums, right?
Support - (fb2k) / Re: Files could not be written (bad allocation) ERRORs
Last post by davideleo -
I tried halving all the values in the LargeFieldsConfig.txt file and now foobar2000 is using over 3000 MB of memory (5 times more than usual). Does that make sense?
No it doesn't. Perhaps you made a typo somewhere and disabled some spam fields for example. Unless that's just some one-time issue and restart of player solves that. Or it's a new bug. Please keep experimenting.

It was probably a one-time issue as you said. It took about half an hour to slowly, but constantly reduce memory usage to 8-900 MB, and never rise again. I'm pretty sure my memory usage issues are enhanced by the foo_customdb plugin, but they got a lot worse since I updated from beta 15 to beta 17. I'll experiment with both versions for a while and trace the differences.

P.S: After seeing several bad allocation warning as mentioned by the OP, I found out some of my playlists's content is actually lost.
General Audio / Re: What lossy format to use for Bluetooth transfer?
Last post by magicgoose -
Lossless codecs (which use some compression, like FLAC) for Bluetooth are pointless. A radio channel has a fixed maximum throughput, and lossless compression doesn't always compress (for reasons I hope I don't need to explain), so if a BT channel is wide enough to use lossless, it may as well use uncompressed PCM and save processing resources.
Development - (fb2k) / Re: Visual Studio 2013-2017 compatibility notice
Last post by davideleo -
I'm taking a second chance on learning c++, visual studio and component development. I don't know if Yirkha's tutorial still applies to the latest sdk and vs 2017. I followed his test project instructions and failed to build the project. These are the last lines of the debug output window:

Code: [Select]
1>Done building project "foobar2000_SDK.vcxproj".
4>------ Build started: Project: foo_whatever, Configuration: Debug Win32 ------
4>j:\foobar2000\sdk-2018-03-06\foobar2000\sdk\advconfig.h(251): error C3861: 'get_static_instance': identifier not found
4>j:\foobar2000\sdk-2018-03-06\foobar2000\sdk\advconfig.h(256): note: see reference to class template instantiation 'advconfig_integer_factory_<int_t_>' being compiled
4>j:\foobar2000\sdk-2018-03-06\foobar2000\sdk\advconfig.h(252): error C3861: 'get_static_instance': identifier not found
4>Done building project "foo_whatever.vcxproj" -- FAILED.
========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I don't want to sound annoying, but if my question is too clueless to be answered, please let me know, so that I can deal with it. Elsewise, is there anything wrong with the advconfig.h file?
3rd Party Plugins - (fb2k) / Preprocessor best practices [JScript panel]
Last post by davideleo -
I learnt you can import your script as a preprocessor, rather than paste it in the configuration window. What I like about this method is I don't need to open foobar2000 to check or edit the scripts, and I always know I'm running the updated versions.
I wonder, though, are there any drawbacks to this practice? Does it affect code execution some how? What is the professional developers' advise?
AAC - Tech / Re: Absolute best AAC quality with qaac
Last post by shadowking -
It makes sense. OP says AAC / MP3 don't scale to lossless - that is true. Also OP probably wants 1 library : AAC or MP3 that plays anywhere. In this case overcoding ( 224.;.512k) gives headroom for rare problems and transcoding . This is proven and the spectrum can matter, even though lossless is prefered but to many it means multi libraries.

The other scenario is one may want to mainly deal in lossy mode, while maintaining an offline lossless archive. In the case the lossy is the daily workhorse. Should something happen to the lossless archive / hardware, the overcoded lossy provides a [near-lossless] fallback of sorts.
Scientific Discussion / Re: I can hear below 10Hz - am I abnormal?
Last post by Porcus -
I often read that the limits of human hearing is 20Hz–20kHz. To me, this "fact" seems quite ridiculous.

Indeed. I got 11 Hz bass tones with not-too-expensive IEMs. (But, they broke down only a month or so later. Coincidence or not.),105844.0.html

My hunch is that when the "20 Hz" was "agreed upon", it was a lower bound for usable frequency. (Hard to make anything usable when you couldn't reproduce to get any use of it without feeling it in your gut more than hearing it with your ears, but with IEMs you can.) 20 to 20k "looks like a nice rule" too. Very scientific ;-)
SimplePortal 1.0.0 RC1 © 2008-2018