Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
77eea9b3
Commit
77eea9b3
authored
Aug 19, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill various warnings
parent
fc0b2f11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
modules/access/dvdread.c
modules/access/dvdread.c
+6
-4
modules/audio_filter/chorus_flanger.c
modules/audio_filter/chorus_flanger.c
+4
-2
No files found.
modules/access/dvdread.c
View file @
77eea9b3
...
...
@@ -772,6 +772,8 @@ static void ESNew( demux_t *p_demux, int i_id, int i_lang )
static
int
DvdReadSetArea
(
demux_t
*
p_demux
,
int
i_title
,
int
i_chapter
,
int
i_angle
)
{
VLC_UNUSED
(
i_angle
);
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
int
pgc_id
=
0
,
pgn
=
0
;
int
i
;
...
...
@@ -1323,19 +1325,19 @@ static void DvdReadFindCell( demux_t *p_demux )
*****************************************************************************/
static
void
DemuxTitles
(
demux_t
*
p_demux
,
int
*
pi_angle
)
{
VLC_UNUSED
(
pi_angle
);
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
input_title_t
*
t
;
seekpoint_t
*
s
;
int32_t
i_titles
;
int
i
;
/* Find out number of titles/chapters */
#define tt_srpt p_sys->p_vmg_file->tt_srpt
i_titles
=
tt_srpt
->
nr_of_srpts
;
i
nt32_t
i
_titles
=
tt_srpt
->
nr_of_srpts
;
msg_Dbg
(
p_demux
,
"number of titles: %d"
,
i_titles
);
for
(
i
=
0
;
i
<
i_titles
;
i
++
)
for
(
i
nt
i
=
0
;
i
<
i_titles
;
i
++
)
{
int32_t
i_chapters
=
0
;
int
j
;
...
...
modules/audio_filter/chorus_flanger.c
View file @
77eea9b3
...
...
@@ -233,8 +233,10 @@ static inline void sanitize( float * f_value )
static
void
DoWork
(
aout_instance_t
*
p_aout
,
aout_filter_t
*
p_filter
,
aout_buffer_t
*
p_in_buf
,
aout_buffer_t
*
p_out_buf
)
{
VLC_UNUSED
(
p_aout
);
struct
aout_filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
int
i
,
i
_chan
;
int
i_chan
;
int
i_samples
=
p_in_buf
->
i_nb_samples
;
/* Gives the number of samples */
int
i_maxOffset
=
(
int
)
floor
(
p_sys
->
f_sweepDepth
*
p_sys
->
i_sampleRate
/
1000
);
/*maximum number of samples to offset in buffer */
...
...
@@ -247,7 +249,7 @@ static void DoWork( aout_instance_t *p_aout, aout_filter_t *p_filter,
p_out_buf
->
i_nb_bytes
=
p_in_buf
->
i_nb_bytes
;
/* Process each sample */
for
(
i
=
0
;
i
<
i_samples
;
i
++
)
for
(
i
nt
i
=
0
;
i
<
i_samples
;
i
++
)
{
/* Use a sine function as a oscillator wave. TODO */
/* f_offset = sinf( ( p_sys->i_cumulative ) * p_sys->f_sinMultiplier ) *
...
...
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