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
7a3174e0
Commit
7a3174e0
authored
Aug 30, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jvlc_audio: add missing function (get_track_count).
parent
e143f0ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
bindings/java/core/src/main/java/org/videolan/jvlc/Audio.java
...ings/java/core/src/main/java/org/videolan/jvlc/Audio.java
+7
-1
No files found.
bindings/java/core/src/main/java/org/videolan/jvlc/Audio.java
View file @
7a3174e0
...
...
@@ -60,7 +60,7 @@ public class Audio
*/
public
final
int
DOLBY_CHANNEL
=
5
;
public
Audio
(
JVLC
jvlc
)
{
this
.
jvlc
=
jvlc
;
...
...
@@ -72,6 +72,12 @@ public class Audio
return
jvlc
.
getLibvlc
().
libvlc_audio_get_track
(
mediaInstance
.
getInstance
(),
exception
);
}
public
int
getTrackCount
(
MediaPlayer
mediaInstance
)
{
libvlc_exception_t
exception
=
new
libvlc_exception_t
();
return
jvlc
.
getLibvlc
().
libvlc_audio_get_track_count
(
mediaInstance
.
getInstance
(),
exception
);
}
public
void
setTrack
(
MediaPlayer
mediaInstance
,
int
track
)
{
libvlc_exception_t
exception
=
new
libvlc_exception_t
();
...
...
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