Mercurial > audlegacy-plugins
view src/wma/libffwma/cutils.h @ 74:11d45400f5ed trunk
[svn] The mixer device isn't opened and closed for every action now, instead
it gets opened as soon as needed and closed if it's not needed anymore.
This fixes a lot of bugs with the mixer of the OSS plugin, including
the one that settigns the volume on OpenBSD via OSS didn't work at all.
author | js |
---|---|
date | Mon, 02 Oct 2006 11:29:31 -0700 |
parents | 3da1b8942b8b |
children |
line wrap: on
line source
#ifndef _CUTILS_H #define _CUTILS_H int strstart(const char *str, const char *val, const char **ptr); int stristart(const char *str, const char *val, const char **ptr); void pstrcpy(char *buf, int buf_size, const char *str); char *pstrcat(char *buf, int buf_size, const char *s); time_t mktimegm(struct tm *tm); const char *small_strptime(const char *p, const char *fmt, struct tm *dt); #endif