Revision 35f4b58c
b/audio/alsaaudio.c | ||
---|---|---|
917 | 917 |
{NULL, 0, NULL, NULL, NULL, 0} |
918 | 918 |
}; |
919 | 919 |
|
920 |
static const struct audio_pcm_ops alsa_pcm_ops = {
|
|
920 |
static struct audio_pcm_ops alsa_pcm_ops = { |
|
921 | 921 |
alsa_init_out, |
922 | 922 |
alsa_fini_out, |
923 | 923 |
alsa_run_out, |
b/audio/audio_int.h | ||
---|---|---|
81 | 81 |
int samples; |
82 | 82 |
LIST_HEAD (sw_out_listhead, SWVoiceOut) sw_head; |
83 | 83 |
LIST_HEAD (sw_cap_listhead, SWVoiceCap) cap_head; |
84 |
const struct audio_pcm_ops *pcm_ops;
|
|
84 |
struct audio_pcm_ops *pcm_ops; |
|
85 | 85 |
LIST_ENTRY (HWVoiceOut) entries; |
86 | 86 |
} HWVoiceOut; |
87 | 87 |
|
... | ... | |
99 | 99 |
|
100 | 100 |
int samples; |
101 | 101 |
LIST_HEAD (sw_in_listhead, SWVoiceIn) sw_head; |
102 |
const struct audio_pcm_ops *pcm_ops;
|
|
102 |
struct audio_pcm_ops *pcm_ops; |
|
103 | 103 |
LIST_ENTRY (HWVoiceIn) entries; |
104 | 104 |
} HWVoiceIn; |
105 | 105 |
|
... | ... | |
140 | 140 |
struct audio_option *options; |
141 | 141 |
void *(*init) (void); |
142 | 142 |
void (*fini) (void *); |
143 |
const struct audio_pcm_ops *pcm_ops;
|
|
143 |
struct audio_pcm_ops *pcm_ops; |
|
144 | 144 |
int can_be_default; |
145 | 145 |
int max_voices_out; |
146 | 146 |
int max_voices_in; |
b/audio/coreaudio.c | ||
---|---|---|
520 | 520 |
{NULL, 0, NULL, NULL, NULL, 0} |
521 | 521 |
}; |
522 | 522 |
|
523 |
static const struct audio_pcm_ops coreaudio_pcm_ops = {
|
|
523 |
static struct audio_pcm_ops coreaudio_pcm_ops = { |
|
524 | 524 |
coreaudio_init_out, |
525 | 525 |
coreaudio_fini_out, |
526 | 526 |
coreaudio_run_out, |
b/audio/dsoundaudio.c | ||
---|---|---|
1057 | 1057 |
{NULL, 0, NULL, NULL, NULL, 0} |
1058 | 1058 |
}; |
1059 | 1059 |
|
1060 |
static const struct audio_pcm_ops dsound_pcm_ops = {
|
|
1060 |
static struct audio_pcm_ops dsound_pcm_ops = { |
|
1061 | 1061 |
dsound_init_out, |
1062 | 1062 |
dsound_fini_out, |
1063 | 1063 |
dsound_run_out, |
b/audio/esdaudio.c | ||
---|---|---|
566 | 566 |
{NULL, 0, NULL, NULL, NULL, 0} |
567 | 567 |
}; |
568 | 568 |
|
569 |
static const struct audio_pcm_ops qesd_pcm_ops = {
|
|
569 |
static struct audio_pcm_ops qesd_pcm_ops = { |
|
570 | 570 |
qesd_init_out, |
571 | 571 |
qesd_fini_out, |
572 | 572 |
qesd_run_out, |
b/audio/fmodaudio.c | ||
---|---|---|
657 | 657 |
{NULL, 0, NULL, NULL, NULL, 0} |
658 | 658 |
}; |
659 | 659 |
|
660 |
static const struct audio_pcm_ops fmod_pcm_ops = {
|
|
660 |
static struct audio_pcm_ops fmod_pcm_ops = { |
|
661 | 661 |
fmod_init_out, |
662 | 662 |
fmod_fini_out, |
663 | 663 |
fmod_run_out, |
b/audio/noaudio.c | ||
---|---|---|
145 | 145 |
(void) opaque; |
146 | 146 |
} |
147 | 147 |
|
148 |
static const struct audio_pcm_ops no_pcm_ops = {
|
|
148 |
static struct audio_pcm_ops no_pcm_ops = { |
|
149 | 149 |
no_init_out, |
150 | 150 |
no_fini_out, |
151 | 151 |
no_run_out, |
b/audio/ossaudio.c | ||
---|---|---|
751 | 751 |
{NULL, 0, NULL, NULL, NULL, 0} |
752 | 752 |
}; |
753 | 753 |
|
754 |
static const struct audio_pcm_ops oss_pcm_ops = {
|
|
754 |
static struct audio_pcm_ops oss_pcm_ops = { |
|
755 | 755 |
oss_init_out, |
756 | 756 |
oss_fini_out, |
757 | 757 |
oss_run_out, |
b/audio/paaudio.c | ||
---|---|---|
487 | 487 |
{NULL, 0, NULL, NULL, NULL, 0} |
488 | 488 |
}; |
489 | 489 |
|
490 |
static const struct audio_pcm_ops qpa_pcm_ops = {
|
|
490 |
static struct audio_pcm_ops qpa_pcm_ops = { |
|
491 | 491 |
qpa_init_out, |
492 | 492 |
qpa_fini_out, |
493 | 493 |
qpa_run_out, |
b/audio/sdlaudio.c | ||
---|---|---|
423 | 423 |
{NULL, 0, NULL, NULL, NULL, 0} |
424 | 424 |
}; |
425 | 425 |
|
426 |
static const struct audio_pcm_ops sdl_pcm_ops = {
|
|
426 |
static struct audio_pcm_ops sdl_pcm_ops = { |
|
427 | 427 |
sdl_init_out, |
428 | 428 |
sdl_fini_out, |
429 | 429 |
sdl_run_out, |
b/audio/wavaudio.c | ||
---|---|---|
233 | 233 |
{NULL, 0, NULL, NULL, NULL, 0} |
234 | 234 |
}; |
235 | 235 |
|
236 |
static const struct audio_pcm_ops wav_pcm_ops = {
|
|
236 |
static struct audio_pcm_ops wav_pcm_ops = { |
|
237 | 237 |
wav_init_out, |
238 | 238 |
wav_fini_out, |
239 | 239 |
wav_run_out, |
Also available in: Unified diff