Changeset 5df4f82a48567b78a3c2a9ac9cb679d50e5351dc
- Timestamp:
- 19/03/08 13:45:18
(7 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1205930718 +0100
- git-parent:
[4082c803f778e903ae0b1dc9afaf3ad86fddbd69]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1205930718 +0100
- Message:
auhal: Fix kAudioDevicePropertyDeviceIsAlive check (vlc_bool_t size has changed and doesn't match anymore the needed param size for kAudioDevicePropertyDeviceIsAlive).
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4082c80 |
r5df4f82 |
|
| 153 | 153 | UInt32 i_param_size = 0; |
|---|
| 154 | 154 | struct aout_sys_t *p_sys = NULL; |
|---|
| 155 | | vlc_bool_t b_alive = VLC_FALSE; |
|---|
| 156 | 155 | vlc_value_t val; |
|---|
| 157 | 156 | aout_instance_t *p_aout = (aout_instance_t *)p_this; |
|---|
| | 157 | |
|---|
| | 158 | /* Use int here, to match kAudioDevicePropertyDeviceIsAlive |
|---|
| | 159 | * property size */ |
|---|
| | 160 | int b_alive = VLC_FALSE; |
|---|
| 158 | 161 | |
|---|
| 159 | 162 | /* Allocate structure */ |
|---|
| … | … | |
| 218 | 221 | if( err != noErr ) |
|---|
| 219 | 222 | { |
|---|
| 220 | | msg_Err( p_aout, "could not check whether device is alive: %4.4s", (char *)&err ); |
|---|
| 221 | | goto error; |
|---|
| | 223 | /* Be tolerant, only give a warning here */ |
|---|
| | 224 | msg_Warn( p_aout, "could not check whether device [0x%x] is alive: %4.4s", p_sys->i_selected_dev, (char *)&err ); |
|---|
| | 225 | b_alive = VLC_FALSE; |
|---|
| 222 | 226 | } |
|---|
| 223 | 227 | |
|---|