Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
40b3a5a1
Commit
40b3a5a1
authored
Jul 24, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auhal: cleanup
parent
7f8329ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
modules/audio_output/auhal.c
modules/audio_output/auhal.c
+14
-2
No files found.
modules/audio_output/auhal.c
View file @
40b3a5a1
...
...
@@ -904,6 +904,7 @@ static void Close( vlc_object_t * p_this )
*****************************************************************************/
static
void
Play
(
aout_instance_t
*
p_aout
)
{
VLC_UNUSED
(
p_aout
);
}
...
...
@@ -1051,7 +1052,7 @@ static void Probe( aout_instance_t * p_aout )
return
;
error:
msg_Warn
(
p_aout
,
"audio device already in
itialized
"
);
msg_Warn
(
p_aout
,
"audio device already in
use
"
);
free
(
p_devices
);
return
;
}
...
...
@@ -1265,7 +1266,7 @@ static int AudioStreamChangeFormat( aout_instance_t *p_aout, AudioStreamID i_str
static
OSStatus
RenderCallbackAnalog
(
vlc_object_t
*
_p_aout
,
AudioUnitRenderActionFlags
*
ioActionFlags
,
const
AudioTimeStamp
*
inTimeStamp
,
unsigned
int
inBusNum
m
er
,
unsigned
int
inBusNum
b
er
,
unsigned
int
inNumberFrames
,
AudioBufferList
*
ioData
)
{
...
...
@@ -1276,6 +1277,10 @@ static OSStatus RenderCallbackAnalog( vlc_object_t *_p_aout,
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
_p_aout
;
struct
aout_sys_t
*
p_sys
=
p_aout
->
output
.
p_sys
;
VLC_UNUSED
(
ioActionFlags
);
VLC_UNUSED
(
inBusNumber
);
VLC_UNUSED
(
inNumberFrames
);
host_time
.
mFlags
=
kAudioTimeStampHostTimeValid
;
AudioDeviceTranslateTime
(
p_sys
->
i_selected_dev
,
inTimeStamp
,
&
host_time
);
...
...
@@ -1367,6 +1372,10 @@ static OSStatus RenderCallbackSPDIF( AudioDeviceID inDevice,
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
threadGlobals
;
struct
aout_sys_t
*
p_sys
=
p_aout
->
output
.
p_sys
;
VLC_UNUSED
(
inDevice
);
VLC_UNUSED
(
inInputData
);
VLC_UNUSED
(
inInputTime
);
/* Check for the difference between the Device clock and mdate */
p_sys
->
clock_diff
=
-
(
mtime_t
)
AudioConvertHostTimeToNanos
(
inNow
->
mHostTime
)
/
1000
;
...
...
@@ -1431,6 +1440,9 @@ static OSStatus StreamListener( AudioStreamID inStream,
{
OSStatus
err
=
noErr
;
struct
{
vlc_mutex_t
lock
;
vlc_cond_t
cond
;
}
*
w
=
inClientData
;
VLC_UNUSED
(
inStream
);
VLC_UNUSED
(
inChannel
);
switch
(
inPropertyID
)
{
...
...
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