|
@@ -156,13 +156,13 @@ struct audio_driver {
|
|
|
};
|
|
|
|
|
|
struct audio_pcm_ops {
|
|
|
- int (*init_out)(HWVoiceOut *hw, struct audsettings *as);
|
|
|
+ int (*init_out)(HWVoiceOut *hw, struct audsettings *as, void *drv_opaque);
|
|
|
void (*fini_out)(HWVoiceOut *hw);
|
|
|
int (*run_out) (HWVoiceOut *hw, int live);
|
|
|
int (*write) (SWVoiceOut *sw, void *buf, int size);
|
|
|
int (*ctl_out) (HWVoiceOut *hw, int cmd, ...);
|
|
|
|
|
|
- int (*init_in) (HWVoiceIn *hw, struct audsettings *as);
|
|
|
+ int (*init_in) (HWVoiceIn *hw, struct audsettings *as, void *drv_opaque);
|
|
|
void (*fini_in) (HWVoiceIn *hw);
|
|
|
int (*run_in) (HWVoiceIn *hw);
|
|
|
int (*read) (SWVoiceIn *sw, void *buf, int size);
|