[BACK]Return to ossaudio.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libossaudio

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libossaudio/Attic/ossaudio.c between version 1.26.4.1 and 1.27

version 1.26.4.1, 2012/05/07 16:55:33 version 1.27, 2012/05/04 11:48:12
Line 549  getdevinfo(int fd)
Line 549  getdevinfo(int fd)
         mixer_devinfo_t mi;          mixer_devinfo_t mi;
         int i, j, e;          int i, j, e;
         static struct {          static struct {
                 const char *name;                  char *name;
                 int code;                  int code;
         } *dp, devs[] = {          } *dp, devs[] = {
                 { AudioNmicrophone,     SOUND_MIXER_MIC },                  { AudioNmicrophone,     SOUND_MIXER_MIC },
Line 574  getdevinfo(int fd)
Line 574  getdevinfo(int fd)
 /*              { AudioNmixerout,       ?? },*/  /*              { AudioNmixerout,       ?? },*/
                 { 0, -1 }                  { 0, -1 }
         };          };
         static struct audiodevinfo devcache = { .done = 0 };          static struct audiodevinfo devcache = { 0 };
         struct audiodevinfo *di = &devcache;          struct audiodevinfo *di = &devcache;
         struct stat sb;          struct stat sb;
         size_t mlen, dlen;          size_t mlen, dlen;
Line 826  static void
Line 826  static void
 setblocksize(int fd, struct audio_info *info)  setblocksize(int fd, struct audio_info *info)
 {  {
         struct audio_info set;          struct audio_info set;
         size_t s;          int s;
   
         if (info->blocksize & (info->blocksize-1)) {          if (info->blocksize & (info->blocksize-1)) {
                 for(s = 32; s < info->blocksize; s <<= 1)                  for(s = 32; s < info->blocksize; s <<= 1)

Legend:
Removed from v.1.26.4.1  
changed lines
  Added in v.1.27

CVSweb <webmaster@jp.NetBSD.org>