sound.h (c40da00ca320a38816049edd21966bd4045b2303) sound.h (d55d96f61724d948b8232f933e0a93c5ba8aec6b)
1/*-
2 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
3 * Copyright by Hannu Savolainen 1995
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 208 unchanged lines hidden (view full) ---

217int pcm_inprog(struct snddev_info *d, int delta);
218
219struct pcm_channel *pcm_chn_create(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t cls, int dir, void *devinfo);
220int pcm_chn_destroy(struct pcm_channel *ch);
221int pcm_chn_add(struct snddev_info *d, struct pcm_channel *ch);
222int pcm_chn_remove(struct snddev_info *d, struct pcm_channel *ch);
223
224int pcm_addchan(device_t dev, int dir, kobj_class_t cls, void *devinfo);
1/*-
2 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org>
3 * Copyright by Hannu Savolainen 1995
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 208 unchanged lines hidden (view full) ---

217int pcm_inprog(struct snddev_info *d, int delta);
218
219struct pcm_channel *pcm_chn_create(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t cls, int dir, void *devinfo);
220int pcm_chn_destroy(struct pcm_channel *ch);
221int pcm_chn_add(struct snddev_info *d, struct pcm_channel *ch);
222int pcm_chn_remove(struct snddev_info *d, struct pcm_channel *ch);
223
224int pcm_addchan(device_t dev, int dir, kobj_class_t cls, void *devinfo);
225unsigned int pcm_getbuffersize(device_t dev, unsigned int min, unsigned int deflt, unsigned int max);
225unsigned int pcm_getbuffersize(device_t dev, unsigned int minbufsz, unsigned int deflt, unsigned int maxbufsz);
226int pcm_register(device_t dev, void *devinfo, int numplay, int numrec);
227int pcm_unregister(device_t dev);
228int pcm_setstatus(device_t dev, char *str);
229u_int32_t pcm_getflags(device_t dev);
230void pcm_setflags(device_t dev, u_int32_t val);
231void *pcm_getdevinfo(device_t dev);
232
233

--- 90 unchanged lines hidden ---
226int pcm_register(device_t dev, void *devinfo, int numplay, int numrec);
227int pcm_unregister(device_t dev);
228int pcm_setstatus(device_t dev, char *str);
229u_int32_t pcm_getflags(device_t dev);
230void pcm_setflags(device_t dev, u_int32_t val);
231void *pcm_getdevinfo(device_t dev);
232
233

--- 90 unchanged lines hidden ---