• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-7346
Type: Bug Bug
Status: Resolved Resolved
Resolution: Misfiled
Priority: Normal Normal
Assignee: Tofu Linden
Reporter: Whoops Babii
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

LLMedia not controlling audio streams correctly

Created: 22/May/08 05:44 AM   Updated: 28/May/08 09:18 AM
Return to search
Component/s: Sound
Affects Version/s: 1.20 Release Candidate
Fix Version/s: 1.20 Release Candidate

File Attachments: 1. Text File openal_patch_1_20_7_llmedia_broken.patch (29 kB)

Environment: OpenSolaris, Ultra-40M2

Source Version: 1.20.7.0
Linden Lab Issue ID: DEV-15756
Patch attached: Patch attached


 Description  « Hide
The LLMedia API suggests one use addCommand() to control play, pause, stop, etc. however using these functions to control an audio stream appears to be broken. Using these to control a GStreamer enabled audio stream results in no change in the output after the stream is started. The attached patch only creates a version of OpenAL support which can be used to demonstrate the problem.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Tofu Linden added a comment - 28/May/08 09:17 AM
updateMedia() needs to be called intermittently to allow the command-queue to be drained.

From llmediabase.h:
// needs to be called regularly to make media stream update itself
virtual bool updateMedia() = 0;


Tofu Linden added a comment - 28/May/08 09:18 AM
Let me know if that doesn't help.