Previous 15994 Revisions Next

r2012 Monday 17th March, 2008 at 19:28:10 UTC by Firewave
Another -listxml fix
[src/emu]sound.h

src/emu/sound.h
r2011r2012
3131
3232/* these functions are macros primarily due to include file ordering */
3333/* plus, they are very simple */
34#define speaker_output_count(config)      device_list_items((config)->devicelist, SPEAKER_OUTPUT)
35#define speaker_output_first(config)      device_list_first((config)->devicelist, SPEAKER_OUTPUT)
34#define speaker_output_count(config)      ((config)->devicelist ? device_list_items((config)->devicelist, SPEAKER_OUTPUT) : 0)
35#define speaker_output_first(config)      ((config)->devicelist ? device_list_first((config)->devicelist, SPEAKER_OUTPUT) : NULL)
3636#define speaker_output_next(previous)      device_list_next((previous), SPEAKER_OUTPUT)
3737
3838

Previous 15994 Revisions Next


© 1998-2018 The MESS Team