Flac playback hickups on new version.

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Flac playback hickups on new version.

Re: Flac playback hickups on new version.

by camaxide » Fri Jul 15, 2016 11:49 am

Aaah - it works!
I guess that has worked for quite some time then.. but I mistook it for a command line parameter.
I guess Cvar means console variable - and not command variable.. sorry that I didn't understand this earlier.. - thanks a lot Graf - I'm very happy to have the music playing back right again.. as it's a fairly important part of the mod I work on :)

Re: Flac playback hickups on new version.

by camaxide » Fri Jul 15, 2016 11:45 am

oh - and its also an ingame setting - but it seem when I tried it it did nothing to the playback - but I now tried to set it - restart the game then play - and it appears to work that way..
I'm now on zdoom 2.9.1117 - I'll quickly try also with the gzdoom..

Re: Flac playback hickups on new version.

by camaxide » Fri Jul 15, 2016 11:41 am

I tried with snd_streambuffersize 128 and also tried -snd_streambuffersize 128
I placed this in the 'Extra command line arguments' when I'm using ZDL - this is the correct approach? please correct me if I messed that up :)

Re: Flac playback hickups on new version.

by Graf Zahl » Fri Jul 15, 2016 11:02 am

_mental_ wrote:I propose to make stream buffer size user customizable, like this.

Have you tried that?

Re: Flac playback hickups on new version.

by camaxide » Fri Jul 15, 2016 10:47 am

This post is set to addressed, but high quality flac music still wont play back without hickups with the new version of zdoom or gzdoom since the updated fmedex.
I tried setting the mentioned snd_streambuffersize to 128 - which does not seem to make any difference for me.

Last tried with 64bit version 2.9.1117

Re: Flac playback hickups on new version.

by camaxide » Thu Mar 31, 2016 10:09 am

_mental_ wrote:
camaxide wrote:Any way I can solve this myself then? or is it something the Zdoom creator must actually implement?
I can't really expect those who'll play the mega-wad to tinker around with custom builds etc. =)
In the next ZDoom devbuild there will be snd_streambuffersize CVAR added. You need to play with its value a bit. Changing it from 64 to 128 solved the hickups on your test for me.
Ah, so will this cvar be included in the next official build? :)

Re: Flac playback hickups on new version.

by _mental_ » Sun Mar 27, 2016 11:03 pm

These was an upgrade of FMOD Ex version. As we don't have access to library's source code, can't say what was changed exactly. Certainly newer versions require bigger streaming buffer.

Re: Flac playback hickups on new version.

by camaxide » Sun Mar 27, 2016 9:32 pm

we are talking a difference of 64kb.. I have a very hard time believing that will trip any computers out there which can run zdoom.
And even so - is the buffer global for fmodex independent on the input file type - or only for flac-source?
Also - what has really changed since the previous versions since I've had flac working for two years before it started lagging on the last build - was the previous buffer larger? or is something else changed, causing the buffer to no longer be enough for smooth flac playback?
I understand few are using flac music - but it's been supported for a long time and working perfectly - so it would be sad that its suddenly changed to no longer being supported properly.

Re: Flac playback hickups on new version.

by Graf Zahl » Sun Mar 27, 2016 10:45 am

camaxide wrote: if there is no real drawback from setting a 'proper' default value?
Because most people do not use FLAC music and there actually MAY be a drawback in using a larger buffer.

Re: Flac playback hickups on new version.

by camaxide » Sun Mar 27, 2016 10:32 am

Though why set the default value of something to something that breaks playback if there is no real drawback from setting a 'proper' default value?
And having to go through readme to learn values you have to change in the game for it to actually work seem a bit weird.
Anyway - is there somewhere I can contact to ask for a different default value for this? =)

Re: Flac playback hickups on new version.

by Gez » Wed Mar 23, 2016 1:20 pm

If they won't bother with a readme, I won't bother with their problems. That's fair, isn't it?

Re: Flac playback hickups on new version.

by NeuralStunner » Wed Mar 23, 2016 1:12 pm

Gez wrote:That's what readmes are for.
One in a hundred even bothers with them. "I want to play Doom, not read a novel." (I've been told more or less this before.)

Many don't even read the entire first post of a project thread.

Re: Flac playback hickups on new version.

by Gez » Mon Mar 21, 2016 12:41 pm

camaxide wrote:if the default value for this is set too low it anyway means that anyone not knowing about this will have choppy playback when playing my wad though
That's what readmes are for.

Re: Flac playback hickups on new version.

by Graf Zahl » Mon Mar 21, 2016 12:21 pm

The default value needs to be set according to the needs of an average system. We do not know yet if your system is the exception or the rule. Also keep in mind that what's necessary for FLAC may not be so great for other formats.

This needs a bit more research before bloating the buffer.

Re: Flac playback hickups on new version.

by camaxide » Mon Mar 21, 2016 11:17 am

if the default value for this is set too low it anyway means that anyone not knowing about this will have choppy playback when playing my wad though
so hopefully the default value for the original zdoom and gzdoom releases will be a value that runs all flac's chop-free on standard pc's - as it did before =)

Top