Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-04-18 04:39:13



Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Music loop 
Author Message

Joined: 2011-09-21 03:19:23
Posts: 26
Reply with quote
Sometime in the last 2-3 versions (.13, .14 and .15) when a parcel changes the Audio URL, the resulting music loops in 1 second loops. For example, if the song is 'La De Da', all that plays is 'La La La'. The only way to clear the issue is to log off and back in.

I have been unable to replicate the issue on my own parcel. However, I listen to lots of live music. If I don't stop the music playback before they switch streams, the looping will happen almost every time.

I've attached the log from the last instance. Once the looping started, I clicked exit.


Attachments:
CoolVLViewer.zip [26.15 KiB]
Downloaded 167 times
2015-08-07 19:16:52
Profile

Joined: 2009-03-17 18:42:51
Posts: 5545
Reply with quote
This would correspond to FMOD Ex v4.44.55 introduction... Tomorrow's releases will have v4.44.56, so we will see if it makes a difference for you...


2015-08-07 22:32:47
Profile WWW

Joined: 2011-09-21 03:19:23
Posts: 26
Reply with quote
No change with today's version (1.26.15.2 - v4.44.56)

Log attached.


Attachments:
CoolVLViewer.zip [29.92 KiB]
Downloaded 183 times
2015-08-08 16:05:01
Profile

Joined: 2009-03-17 18:42:51
Posts: 5545
Reply with quote
I'm afraid I can't do anything about it, since it's a problem with FMOD Ex...

You could try and use the DLL from FMOD Ex v4.44.54, and see it it solves your issue.


2015-08-08 16:52:25
Profile WWW

Joined: 2015-08-15 22:31:54
Posts: 10
Reply with quote
This still happens with 1.26.15.3 when an audio stream ends and a new one starts:

2015-08-16T00:15:49Z INFO: LLStreamingAudio_FMODEX::update: Stream starvation detected, muting stream audio until it clears.
2015-08-16T00:16:11Z INFO: LLStreamingAudio_FMODEX::stop: Releasing Internet stream: http://...
2015-08-16T00:16:11Z INFO: LLStreamingAudio_FMODEX::stop: Pushing stream to dead list: http://...
2015-08-16T00:16:11Z INFO: LLStreamingAudio_FMODEX::start: Starting Internet stream: http://....

The new stream starts and loops. Even if I then tp to some other parcel with audio stream, that music loops too. Only way to fix it is a relog.

It doesn't happen with other viewers that use the same FMOD Ex 4.44.56

------------------------------------------------------------------------------------------------------------
Cool VL Viewer 1.26.15 (3) Aug 15 2015 10:45:47 (Cool VL Viewer)
Release Notes

You are at 234024.8, 319942.4, 34.4 in Nova located at sim10059.agni.lindenlab.com (216.82.48.69:13013)
Second Life Server 15.07.28.303910
Release Notes

CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (3500.04 MHz)
Memory: 16337 MB
OS version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
Memory manager: OS native
Graphics card vendor: NVIDIA Corporation
Graphics card: GeForce GTX 770/PCIe/SSE2
Windows graphics driver version: 10.18.0013.5560
OpenGL version: 4.5.0 NVIDIA 355.60

J2C decoder: KDU
Audio driver: FMOD Ex 4.44.56
Networking backend: libcurl/7.38.0 OpenSSL/1.0.1h zlib/1.2.8
Embedded browser: Qt Webkit v4.7.1 (version number hard-coded)
Packets lost: 14/304246 (0.0%)

Built with MSVC version 1600


2015-08-16 00:42:29
Profile

Joined: 2009-03-17 18:42:51
Posts: 5545
Reply with quote
Julia wrote:
It doesn't happen with other viewers that use the same FMOD Ex 4.44.56
I'd be curious to know which viewers you are speaking about... LL's current viewer is still using v4.44.31, Singularity and Firestorm didn't get a single release in months (and 4.44.55/6 are only a few weeks old)...

Since the initial reporter pointed out things were working fine in the releases done before I introduced v4.44.55 (and since I didn't change any related code in the viewer itself in the mean time), please, grab v4.44.54 (if you got 7zip, you can rename that file using a 7z extension so to extract the DLL directly from it), and get the fmodex.dll (in the api/ sub-folder) file from it. Then replace the corresponding DLL in the Cool VL Viewer installation folder, and let me know if you encounter the same issue with it...


2015-08-16 08:56:20
Profile WWW

Joined: 2015-08-15 22:31:54
Posts: 10
Reply with quote
I extracted the 4.44.54 fmodex.dll and put it into the Cool VL Viewer folder and the bug is fixed. Great! Thank you : )

The Firestorm Pre-releases use FMOD Ex 4.44.56. With the 64bit version 4.7.3 (47315) from Aug 12 2015 21:22:49 I didn't notice any audio stream loop bug.
I only installed it for checking. I prefer Cool VL Viewer.


2015-08-16 15:44:56
Profile

Joined: 2009-03-17 18:42:51
Posts: 5545
Reply with quote
Julia wrote:
I extracted the 4.44.54 fmodex.dll and put it into the Cool VL Viewer folder and the bug is fixed. Great! Thank you : )
Let's hope the next FMOD Ex version will get things straight again...

Quote:
The Firestorm Pre-releases use FMOD Ex 4.44.56. With the 64bit version 4.7.3 (47315) from Aug 12 2015 21:22:49 I didn't notice any audio stream loop bug.
Perhaps the 64bits version of FMOD Ex is not affected, or perhaps Firestorm's code is not triggering that particular bug (it's probably a race condition, so it could appear at seemingly random times, depending on network activity and/or other threads)...


2015-08-16 17:38:22
Profile WWW

Joined: 2015-08-15 22:31:54
Posts: 10
Reply with quote
I am sorry, i should have tested better. The bug is still there, with the older dll 4.44.54. I like to go to live concerts and have to log out every hour when stream changes, to fix the loop.

I also tried the 32bit pre-release Firestorm 4.7.3 (47320) for SL and OpenSim now, with FMOD Ex 4.44.56 and loop does not happen.


2015-08-16 22:24:06
Profile

Joined: 2009-03-17 18:42:51
Posts: 5545
Reply with quote
Julia wrote:
I am sorry, i should have tested better. The bug is still there, with the older dll 4.44.54.
I tried hard to reproduce the bug here, under both Linux and Windows, changing my parcel music stream from one to another, many times, in various ways, to no avail... I suppose it's one of these system-dependent race conditions that I will never be able to reproduce myself...

I made a small change that could plug one such potential race condition (but that's just guess work from me) and added more debug messages in order to try and spot what is the exact code path involved in that bug. I compiled a test build and will give you the link to it in PM, so that you can test it; if you still encounter the bug with it, please enable the "FMOD" debug tag after the viewer restart and login (from "Advanced" -> "Consoles" -> "Debug tags"), then wait for the bug to occur, log out, and post the log here (the *full* log, please !!!).


2015-08-17 13:51:14
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.