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
161a58b4
Commit
161a58b4
authored
Apr 01, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audiounit_ios: remove a write-only variable and related code
parent
d241df94
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
modules/audio_output/audiounit_ios.c
modules/audio_output/audiounit_ios.c
+0
-11
No files found.
modules/audio_output/audiounit_ios.c
View file @
161a58b4
...
@@ -58,7 +58,6 @@
...
@@ -58,7 +58,6 @@
*****************************************************************************/
*****************************************************************************/
struct
aout_sys_t
struct
aout_sys_t
{
{
uint8_t
chans_to_reorder
;
/* do we need channel reordering */
uint8_t
chan_table
[
AOUT_CHAN_MAX
];
uint8_t
chan_table
[
AOUT_CHAN_MAX
];
UInt32
i_numberOfChannels
;
UInt32
i_numberOfChannels
;
...
@@ -163,7 +162,6 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
...
@@ -163,7 +162,6 @@ static int StartAnalog(audio_output_t *p_aout, audio_sample_format_t *fmt)
UInt32
i_param_size
=
0
;
UInt32
i_param_size
=
0
;
AudioComponentDescription
desc
;
AudioComponentDescription
desc
;
AURenderCallbackStruct
callback
;
AURenderCallbackStruct
callback
;
p_aout
->
sys
->
chans_to_reorder
=
0
;
OSStatus
status
;
OSStatus
status
;
/* Lets go find our Component */
/* Lets go find our Component */
...
@@ -314,15 +312,6 @@ static void Play (audio_output_t * p_aout, block_t * p_block)
...
@@ -314,15 +312,6 @@ static void Play (audio_output_t * p_aout, block_t * p_block)
p_sys
->
b_got_first_sample
=
true
;
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 */
/* move data to buffer */
if
(
unlikely
(
!
TPCircularBufferProduceBytes
(
&
p_sys
->
circular_buffer
,
p_block
->
p_buffer
,
p_block
->
i_buffer
)))
if
(
unlikely
(
!
TPCircularBufferProduceBytes
(
&
p_sys
->
circular_buffer
,
p_block
->
p_buffer
,
p_block
->
i_buffer
)))
msg_Warn
(
p_aout
,
"Audio buffer was dropped"
);
msg_Warn
(
p_aout
,
"Audio buffer was dropped"
);
...
...
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