Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
ab75bc3a
Commit
ab75bc3a
authored
Jan 06, 2009
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jvlc: test to check audio mute on 2 different instances
parent
c6c3b26a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java
...s/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java
+17
-1
No files found.
bindings/java/core/src/test/java/org/videolan/jvlc/JVLCTest.java
View file @
ab75bc3a
...
...
@@ -72,5 +72,21 @@ public class JVLCTest extends AbstractJVLCTest
}
@Test
public
void
twoAudioInstancesTest
()
throws
Exception
{
JVLC
instance1
=
new
JVLC
();
JVLC
instance2
=
new
JVLC
();
instance1
.
play
(
mrl
);
instance2
.
play
(
mrl
);
Thread
.
sleep
(
1000
);
instance1
.
getAudio
().
setMute
(
true
);
Assert
.
assertNotNull
(
instance2
.
getAudio
());
Assert
.
assertTrue
(
instance1
.
getAudio
().
getMute
());
Assert
.
assertTrue
(!
instance2
.
getAudio
().
getMute
());
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment