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
fe2a8730
Commit
fe2a8730
authored
Nov 25, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_output/coreaudio.c:
- Many of the error streams were identical. This isn't helping debugging.
parent
92bbd4ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
modules/audio_output/coreaudio.c
modules/audio_output/coreaudio.c
+15
-15
No files found.
modules/audio_output/coreaudio.c
View file @
fe2a8730
...
...
@@ -2,7 +2,7 @@
* coreaudio.c: CoreAudio output plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: coreaudio.c,v 1.
6 2003/06/06 02:23:30
hartman Exp $
* $Id: coreaudio.c,v 1.
7 2003/11/25 21:21:36
hartman Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -653,7 +653,7 @@ static int InitHardwareInfo( aout_instance_t * p_aout )
&
i_param_size
,
NULL
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioHardwareGetPropertyInfo failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not get number of devices
: [%4.4s]"
,
(
char
*
)
&
err
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
return
(
VLC_EGENERIC
);
...
...
@@ -684,7 +684,7 @@ static int InitHardwareInfo( aout_instance_t * p_aout )
&
i_param_size
,
(
void
*
)
p_devices
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioHardwareGetProperty failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not get the device ID's
: [%4.4s]"
,
(
char
*
)
&
err
);
free
(
(
void
*
)
p_devices
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -696,7 +696,7 @@ static int InitHardwareInfo( aout_instance_t * p_aout )
&
i_param_size
,
(
void
*
)
&
devid_def
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioHardwareGetProperty failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not get default audio device
: [%4.4s]"
,
(
char
*
)
&
err
);
free
(
(
void
*
)
p_devices
);
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
@@ -772,7 +772,7 @@ static int InitDeviceInfo( UInt32 i_dev, aout_instance_t * p_aout )
&
i_param_size
,
NULL
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioDeviceGetPropertyInfo failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not get size of devicename
: [%4.4s]"
,
(
char
*
)
&
err
);
return
(
VLC_EGENERIC
);
}
...
...
@@ -791,7 +791,7 @@ static int InitDeviceInfo( UInt32 i_dev, aout_instance_t * p_aout )
&
i_param_size
,
p_dev
->
psz_device_name
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioDeviceGetProperty failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not get devicename
: [%4.4s]"
,
(
char
*
)
&
err
);
free
(
(
void
*
)
p_dev
->
psz_device_name
);
return
(
VLC_EGENERIC
);
...
...
@@ -805,7 +805,7 @@ static int InitDeviceInfo( UInt32 i_dev, aout_instance_t * p_aout )
&
i_param_size
,
NULL
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioDeviceGetPropertyInfo failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not get size of stream configuration
: [%4.4s]"
,
(
char
*
)
&
err
);
free
(
(
void
*
)
p_dev
->
psz_device_name
);
return
(
VLC_EGENERIC
);
...
...
@@ -824,7 +824,7 @@ static int InitDeviceInfo( UInt32 i_dev, aout_instance_t * p_aout )
&
i_param_size
,
p_buffer_list
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioDeviceGetProperty failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not get stream configuration
: [%4.4s]"
,
(
char
*
)
&
err
);
free
(
(
void
*
)
p_dev
->
psz_device_name
);
free
(
(
void
*
)
p_buffer_list
);
...
...
@@ -995,7 +995,7 @@ static int InitStreamInfo( UInt32 i_dev, aout_instance_t * p_aout,
&
i_param_size
,
NULL
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioStreamGetPropertyInfo failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not retrieve the number of streams
: [%4.4s]"
,
(
char
*
)
&
err
);
return
(
VLC_EGENERIC
);
}
...
...
@@ -1019,7 +1019,7 @@ static int InitStreamInfo( UInt32 i_dev, aout_instance_t * p_aout,
&
i_param_size
,
P_STREAMS
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioStreamGetProperty failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could no get the streams
: [%4.4s]"
,
(
char
*
)
&
err
);
free
(
(
void
*
)
P_STREAMS
);
return
(
VLC_EGENERIC
);
...
...
@@ -1141,7 +1141,7 @@ static int InitDevice( aout_instance_t * p_aout )
&
i_param_size
,
&
p_sys
->
b_dev_alive
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioDeviceGetProperty failed
: %4.4s"
,
msg_Err
(
p_aout
,
"
Could not check whether device is alive
: %4.4s"
,
(
char
*
)
&
err
);
return
(
VLC_EGENERIC
);
}
...
...
@@ -1171,7 +1171,7 @@ static int InitDevice( aout_instance_t * p_aout )
(
void
*
)
&
p_sys
->
sfmt_revert
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioStreamGetPropertyInfo failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not retrieve the original streamformat
: [%4.4s]"
,
(
char
*
)
&
err
);
return
(
VLC_EGENERIC
);
}
...
...
@@ -1212,7 +1212,7 @@ static int InitDevice( aout_instance_t * p_aout )
&
P_STREAMS
[
i_stream
]
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioStreamSetProperty failed
: [%4.4s]"
,
msg_Err
(
p_aout
,
"
Could not set the stream format
: [%4.4s]"
,
(
char
*
)
&
err
);
vlc_mutex_unlock
(
&
w
.
lock
);
vlc_mutex_destroy
(
&
w
.
lock
);
...
...
@@ -1310,7 +1310,7 @@ static void FreeDevice( aout_instance_t * p_aout )
&
p_sys
->
sfmt_revert
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"AudioStreamSetProperty failed: [%4.4s]"
,
msg_Err
(
p_aout
,
"AudioStreamSetProperty
revert format
failed: [%4.4s]"
,
(
char
*
)
&
err
);
}
}
...
...
@@ -1409,7 +1409,7 @@ static OSStatus DeviceListener( AudioDeviceID inDevice,
&
i_param_size
,
&
p_sys
->
b_dev_alive
);
if
(
err
!=
noErr
)
{
msg_Err
(
p_aout
,
"
AudioDeviceGetProperty failed
: %4.4s"
,
msg_Err
(
p_aout
,
"
Could not determine wether device is alive
: %4.4s"
,
(
char
*
)
&
err
);
}
}
...
...
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