Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
454
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
161a58b4
Commit
161a58b4
authored
12 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
audiounit_ios: remove a write-only variable and related code
parent
d241df94
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/audio_output/audiounit_ios.c
+0
-11
0 additions, 11 deletions
modules/audio_output/audiounit_ios.c
with
0 additions
and
11 deletions
modules/audio_output/audiounit_ios.c
+
0
−
11
View file @
161a58b4
...
...
@@ -58,7 +58,6 @@
*****************************************************************************/
struct
aout_sys_t
{
uint8_t
chans_to_reorder
;
/* do we need channel reordering */
uint8_t
chan_table
[
AOUT_CHAN_MAX
];
UInt32
i_numberOfChannels
;
...
...
@@ -163,7 +162,6 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
UInt32
i_param_size
=
0
;
AudioComponentDescription
desc
;
AURenderCallbackStruct
callback
;
p_aout
->
sys
->
chans_to_reorder
=
0
;
OSStatus
status
;
/* Lets go find our Component */
...
...
@@ -314,15 +312,6 @@ static void Play (audio_output_t * p_aout, block_t * p_block)
p_sys
->
b_got_first_sample
=
true
;
}
/* Do the channel reordering */
if
(
p_sys
->
chans_to_reorder
)
{
aout_ChannelReorder
(
p_block
->
p_buffer
,
p_block
->
i_buffer
,
p_sys
->
chans_to_reorder
,
p_sys
->
chan_table
,
VLC_CODEC_FL32
);
}
/* move data to buffer */
if
(
unlikely
(
!
TPCircularBufferProduceBytes
(
&
p_sys
->
circular_buffer
,
p_block
->
p_buffer
,
p_block
->
i_buffer
)))
msg_Warn
(
p_aout
,
"Audio buffer was dropped"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment