Mercurial > hg > xemacs-beta
comparison src/sunplay.c @ 4759:aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
<870180fe0911101613m6b8efa4bpf083fd9013950807@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 18 Nov 2009 08:49:14 -0700 |
parents | 3d8143fc88e1 |
children | 6f2158fa75ed |
comparison
equal
deleted
inserted
replaced
4758:75975fd0b7fc | 4759:aa5ed11f473b |
---|---|
43 | 43 |
44 static int | 44 static int |
45 init_device (int volume, Binbyte *data, int fd, | 45 init_device (int volume, Binbyte *data, int fd, |
46 unsigned int *header_length) | 46 unsigned int *header_length) |
47 { | 47 { |
48 #ifdef SUNOS4_0_3 | |
49 if (header_length) *header_length = 0; | |
50 return 0; | |
51 #else | |
52 Audio_hdr file_hdr; | 48 Audio_hdr file_hdr; |
53 | 49 |
54 reset_volume_p = 0; | 50 reset_volume_p = 0; |
55 reset_device_p = 0; | 51 reset_device_p = 0; |
56 | 52 |
106 reset_volume_p = 1; | 102 reset_volume_p = 1; |
107 audio_set_play_gain (audio_fd, &V); | 103 audio_set_play_gain (audio_fd, &V); |
108 } | 104 } |
109 | 105 |
110 return 0; | 106 return 0; |
111 #endif | |
112 } | 107 } |
113 | 108 |
114 | 109 |
115 static void | 110 static void |
116 reset_device (int wait_p) | 111 reset_device (int wait_p) |