X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=linux%2Fsndout_oss.h;h=6b65617a793518c1c54e9a85e6edc9c29c06b56f;hb=39014486f9e50110d23dece007ce4c0ed90d15b1;hp=d6f285b67d26cab9ecb3d0fc3694d04f0c742cf6;hpb=b3972d826fe31f82aa3382f80454e5d8ce895705;p=libpicofe.git diff --git a/linux/sndout_oss.h b/linux/sndout_oss.h index d6f285b..6b65617 100644 --- a/linux/sndout_oss.h +++ b/linux/sndout_oss.h @@ -1,6 +1,13 @@ int sndout_oss_init(void); -int sndout_oss_start(int rate, int bits, int stereo); +int sndout_oss_start(int rate, int stereo); +void sndout_oss_stop(void); int sndout_oss_write(const void *buff, int len); -void sndout_oss_sync(void); +int sndout_oss_write_nb(const void *buff, int len); +int sndout_oss_can_write(int bytes); +void sndout_oss_wait(void); void sndout_oss_setvol(int l, int r); void sndout_oss_exit(void); + +/* make oss fragment size to fit this much video frames */ +extern int sndout_oss_frag_frames; +extern int sndout_oss_can_restart;