Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
37fea1a4
Commit
37fea1a4
authored
Nov 11, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audio_output/amem.c: cleanup
Cleanup and properly initialize sys->b_own_semaphore.
parent
21942001
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/audio_output/amem.c
modules/audio_output/amem.c
+2
-1
No files found.
modules/audio_output/amem.c
View file @
37fea1a4
...
...
@@ -370,7 +370,6 @@ static void amem_shmem_header(aout_instance_t *aout)
header
->
wave
.
nChannels
=
aout
->
output
.
output
.
i_channels
;
header
->
wave
.
nSamplesPerSec
=
header
->
i_rate
*
header
->
i_max_samples
;
header
->
wave
.
wBitsPerSample
=
header
->
i_bitspersample
;
//header->wave.nBlockAlign = header->i_blockalign;
header
->
wave
.
nBlockAlign
=
header
->
wave
.
wBitsPerSample
/
8
*
header
->
wave
.
nChannels
;
header
->
wave
.
nAvgBytesPerSec
=
header
->
wave
.
nSamplesPerSec
*
header
->
wave
.
nBlockAlign
;
header
->
wave
.
cbSize
=
0
;
/* No additional format metadata */
...
...
@@ -495,7 +494,9 @@ static int Open(vlc_object_t *p_this)
/* */
sys
->
header
=
NULL
;
sys
->
b_own_semaphore
=
false
;
/* */
aout
->
output
.
pf_play
=
Play
;
/* Name to use */
...
...
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