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
03e68116
Commit
03e68116
authored
Dec 01, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QTsound: fixes format string and integer times
Thou shalt use %ld for NSInteger and %lu for NSUInteger
parent
62eac017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/access/qtsound.m
modules/access/qtsound.m
+5
-5
No files found.
modules/access/qtsound.m
View file @
03e68116
...
...
@@ -288,11 +288,11 @@ static int Open( vlc_object_t *p_this )
goto
error
;
}
int
iaudio
;
unsigned
iaudio
;
for
(
iaudio
=
0
;
iaudio
<
[
myAudioDevices
count
];
iaudio
++
){
QTCaptureDevice
*
qtk_audioDevice
;
qtk_audioDevice
=
[
myAudioDevices
objectAtIndex
:
iaudio
];
msg_Dbg
(
p_demux
,
"qtsound audio %
d/%d
localizedDisplayName: %s uniqueID: %s"
,
iaudio
,
[
myAudioDevices
count
],
[[
qtk_audioDevice
localizedDisplayName
]
UTF8String
],
[[
qtk_audioDevice
uniqueID
]
UTF8String
]);
msg_Dbg
(
p_demux
,
"qtsound audio %
u/%lu
localizedDisplayName: %s uniqueID: %s"
,
iaudio
,
[
myAudioDevices
count
],
[[
qtk_audioDevice
localizedDisplayName
]
UTF8String
],
[[
qtk_audioDevice
uniqueID
]
UTF8String
]);
if
([[[
qtk_audioDevice
localizedDisplayName
]
stringByTrimmingCharactersInSet
:[
NSCharacterSet
whitespaceCharacterSet
]]
isEqualToString
:
qtk_curraudiodevice_uid
]){
msg_Dbg
(
p_demux
,
"Device found"
);
break
;
...
...
@@ -321,7 +321,7 @@ static int Open( vlc_object_t *p_this )
if
(
!
[
p_sys
->
audiodevice
open
:
&
o_returnedAudioError
]
)
{
msg_Err
(
p_demux
,
"Unable to open the audio capture device (%d)"
,
[
o_returnedAudioError
code
]
);
msg_Err
(
p_demux
,
"Unable to open the audio capture device (%
l
d)"
,
[
o_returnedAudioError
code
]
);
goto
error
;
}
...
...
@@ -470,14 +470,14 @@ static int Open( vlc_object_t *p_this )
success
=
[
p_sys
->
session
addInput
:
audioInput
error
:
&
o_returnedAudioError
];
if
(
!
success
)
{
msg_Err
(
p_demux
,
"the audio capture device could not be added to capture session (%d)"
,
[
o_returnedAudioError
code
]
);
msg_Err
(
p_demux
,
"the audio capture device could not be added to capture session (%
l
d)"
,
[
o_returnedAudioError
code
]
);
goto
error
;
}
success
=
[
p_sys
->
session
addOutput
:
p_sys
->
audiooutput
error
:
&
o_returnedAudioError
];
if
(
!
success
)
{
msg_Err
(
p_demux
,
"audio output could not be added to capture session (%d)"
,
[
o_returnedAudioError
code
]
);
msg_Err
(
p_demux
,
"audio output could not be added to capture session (%
l
d)"
,
[
o_returnedAudioError
code
]
);
goto
error
;
}
...
...
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