308 |
} |
} |
309 |
} |
} |
310 |
|
|
|
static struct audio_driver sgi_driver = { |
|
|
wave_out_write:rdpsnd_queue_write, |
|
|
wave_out_open:sgi_open, |
|
|
wave_out_close:sgi_close, |
|
|
wave_out_format_supported:sgi_format_supported, |
|
|
wave_out_set_format:sgi_set_format, |
|
|
wave_out_volume:sgi_volume, |
|
|
wave_out_play:sgi_play, |
|
|
name:"sgi", |
|
|
description:"SGI output driver", |
|
|
next:NULL, |
|
|
}; |
|
|
|
|
311 |
struct audio_driver * |
struct audio_driver * |
312 |
sgi_register(char *options) |
sgi_register(char *options) |
313 |
{ |
{ |
314 |
|
static struct audio_driver sgi_driver; |
315 |
|
|
316 |
|
sgi_driver.wave_out_write = rdpsnd_queue_write; |
317 |
|
sgi_driver.wave_out_open = sgi_open; |
318 |
|
sgi_driver.wave_out_close = sgi_close; |
319 |
|
sgi_driver.wave_out_format_supported = sgi_format_supported; |
320 |
|
sgi_driver.wave_out_set_format = sgi_set_format; |
321 |
|
sgi_driver.wave_out_volume = sgi_volume; |
322 |
|
sgi_driver.wave_out_play = sgi_play; |
323 |
|
sgi_driver.name = xstrdup("sgi"); |
324 |
|
sgi_driver.description = xstrdup("SGI output driver"); |
325 |
|
sgi_driver.next = NULL; |
326 |
|
|
327 |
if (options) |
if (options) |
328 |
{ |
{ |
329 |
sgi_output_device = xstrdup(options); |
sgi_output_device = xstrdup(options); |