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
359975f5
Commit
359975f5
authored
Feb 10, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_output/alsa.c: Fixed mono files output (thanks bozo !),
* Minor fixes.
parent
f6aa39f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+11
-2
modules/audio_output/oss.c
modules/audio_output/oss.c
+2
-1
No files found.
modules/audio_output/alsa.c
View file @
359975f5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* alsa.c : alsa plugin for vlc
* alsa.c : alsa plugin for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2001 VideoLAN
* Copyright (C) 2000-2001 VideoLAN
* $Id: alsa.c,v 1.2
1 2003/02/03 00:39:42 sam
Exp $
* $Id: alsa.c,v 1.2
2 2003/02/10 17:43:21 massiot
Exp $
*
*
* Authors: Henri Fallon <henri@videolan.org> - Original Author
* Authors: Henri Fallon <henri@videolan.org> - Original Author
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
...
@@ -159,7 +159,7 @@ static void Probe( aout_instance_t * p_aout,
...
@@ -159,7 +159,7 @@ static void Probe( aout_instance_t * p_aout,
i_channels
=
aout_FormatNbChannels
(
&
p_aout
->
output
.
output
);
i_channels
=
aout_FormatNbChannels
(
&
p_aout
->
output
.
output
);
while
(
i_channels
>
1
)
while
(
i_channels
>
0
)
{
{
/* Here we have to probe multi-channel capabilities but I have
/* Here we have to probe multi-channel capabilities but I have
no idea (at the moment) of how its managed by the ALSA
no idea (at the moment) of how its managed by the ALSA
...
@@ -342,6 +342,15 @@ static int Open( vlc_object_t *p_this )
...
@@ -342,6 +342,15 @@ static int Open( vlc_object_t *p_this )
p_aout
->
output
.
output
.
i_physical_channels
=
AOUT_CHAN_CENTER
;
p_aout
->
output
.
output
.
i_physical_channels
=
AOUT_CHAN_CENTER
;
}
}
else
{
/* This should not happen ! */
msg_Err
(
p_aout
,
"internal: can't find audio-device (%s)"
,
val
.
psz_string
);
free
(
p_sys
);
free
(
val
.
psz_string
);
return
VLC_EGENERIC
;
}
free
(
val
.
psz_string
);
free
(
val
.
psz_string
);
#ifdef DEBUG
#ifdef DEBUG
...
...
modules/audio_output/oss.c
View file @
359975f5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* oss.c : OSS /dev/dsp module for vlc
* oss.c : OSS /dev/dsp module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
* Copyright (C) 2000-2002 VideoLAN
* $Id: oss.c,v 1.5
0 2003/02/06 15:14:4
1 massiot Exp $
* $Id: oss.c,v 1.5
1 2003/02/10 17:43:2
1 massiot Exp $
*
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -331,6 +331,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -331,6 +331,7 @@ static int Open( vlc_object_t *p_this )
msg_Err
(
p_aout
,
"internal: can't find audio-device (%s)"
,
msg_Err
(
p_aout
,
"internal: can't find audio-device (%s)"
,
val
.
psz_string
);
val
.
psz_string
);
free
(
p_sys
);
free
(
p_sys
);
free
(
val
.
psz_string
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
free
(
val
.
psz_string
);
free
(
val
.
psz_string
);
...
...
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