Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Vorbis tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
61
Issues
61
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Vorbis tools
Commits
2021bb5d
Commit
2021bb5d
authored
Dec 20, 2001
by
Stan Seibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duh. I should probably print the name of the file we're playing.
svn path=/trunk/vorbis-tools/; revision=2871
parent
5a4da4eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
ogg123/ogg123.c
ogg123/ogg123.c
+7
-2
No files found.
ogg123/ogg123.c
View file @
2021bb5d
...
...
@@ -14,7 +14,7 @@
* *
********************************************************************
last mod: $Id: ogg123.c,v 1.5
4 2001/12/19 06:24:16
volsung Exp $
last mod: $Id: ogg123.c,v 1.5
5 2001/12/20 02:51:22
volsung Exp $
********************************************************************/
...
...
@@ -391,7 +391,8 @@ void play (char *source_string)
}
if
(
(
decoder
=
format
->
init
(
source
,
&
options
,
&
new_audio_fmt
,
&
decoder_callbacks
,
audio_buffer
))
==
NULL
)
{
&
decoder_callbacks
,
decoder_callbacks_arg
))
==
NULL
)
{
status_error
(
"Error opening %s using the %s module."
" The file may be corrupted.
\n
"
,
source_string
,
format
->
name
);
...
...
@@ -418,6 +419,10 @@ void play (char *source_string)
buffer_thread_start
(
audio_buffer
);
}
/* Show which file we are playing */
decoder_callbacks
.
printf_metadata
(
decoder_callbacks_arg
,
1
,
"Playing: %s"
,
source_string
);
/* Skip over audio */
if
(
options
.
seekpos
>
0
.
0
)
{
if
(
!
format
->
seek
(
decoder
,
options
.
seekpos
,
DECODER_SEEK_START
))
...
...
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