Flac playback hickups on new version.

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Flac playback hickups on new version.

Post by _mental_ »

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.
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Flac playback hickups on new version.

Post by camaxide »

_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? :)
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Flac playback hickups on new version.

Post by camaxide »

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
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Flac playback hickups on new version.

Post by Graf Zahl »

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

Have you tried that?
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Flac playback hickups on new version.

Post by camaxide »

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 :)
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Flac playback hickups on new version.

Post by camaxide »

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..
User avatar
camaxide
Posts: 388
Joined: Thu Jun 11, 2015 8:38 am

Re: Flac playback hickups on new version.

Post by camaxide »

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 :)
Post Reply

Return to “Closed Bugs [GZDoom]”