- Timestamp:
- Apr 9, 2008, 9:53:10 AM (17 years ago)
- Location:
- GPL/branches/uniaud32-2.0/lib32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.0/lib32/ossidc.cpp
r340 r344 110 110 return OSSERR_INIT_FAILED; 111 111 } 112 dprintf((" Uniaud version %s\n",UNIAUD_VERSION));112 dprintf(("\nUniaud version %s\n",UNIAUD_VERSION)); 113 113 dprintf(("OSS32_Initialize. Start address: %X", OffsetBeginCS32)); 114 114 // DebugInt3(); -
GPL/branches/uniaud32-2.0/lib32/sound.c
r339 r344 778 778 BOOL fTryAgain = FALSE; 779 779 ULONG ulMinRate, ulMaxRate; 780 struct snd_pcm_info *pcminfo = NULL; 780 781 781 782 #ifdef DEBUG … … 802 803 return OSSERR_INVALID_PARAMETER; 803 804 } 805 806 // Get pcminfo so that we have the device & mixer name so we can do chipset specific hacks 807 pcminfo = (struct snd_pcm_info *)kmalloc(sizeof(struct snd_pcm_info)+sizeof(struct snd_pcm_hw_params), GFP_KERNEL); 808 //set operation to non-blocking 809 pHandle->file.f_flags = O_NONBLOCK; 810 811 ret = pHandle->file.f_op->ioctl(&pHandle->inode, &pHandle->file, SNDRV_PCM_IOCTL_INFO, (ULONG)pcminfo); 812 804 813 tryagain: 805 814 //set operation to non-blocking … … 1003 1012 1004 1013 //#ifdef DEBUG_PK 1005 printk("Hardware parameters: sample rate %i, data type %i, channels %i, period size %i, periods %i\n",1014 printk("Hardware parameters: sample rate %i, data type %i, channels %i, period size %i, nrperiods %i\n", 1006 1015 pHwParams->ulSampleRate, pHwParams->ulDataType, pHwParams->ulNumChannels, periodsize, nrperiods); 1007 1016 //#endif
Note:
See TracChangeset
for help on using the changeset viewer.