Changeset 470 for GPL/trunk/lib32/ioctl.c
- Timestamp:
- Nov 6, 2009, 11:24:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/lib32/ioctl.c
r362 r470 30 30 */ 31 31 struct snd_pcm_substream *substream_int[8*256] = {0}; // interrupted substream 32 32 33 int control_id_changed = 0; 33 34 int card_id_changed = 0; … … 36 37 void FillCaps(ULONG deviceid); 37 38 int pcm_instances(int card_id); 39 40 int uniaud_set_interrupted_substream(struct snd_pcm_substream *substream) 41 { 42 int i; 43 44 for (i=0; i < 8*256; i++) 45 { 46 if (substream_int[i] == 0) 47 { 48 substream_int[i] = substream; // interrupted substream 49 // printk("added %x to %i\n", substream, i); 50 break; 51 } 52 if (substream_int[i] == substream) 53 { 54 // printk("already exist %x at %i\n", substream, i); 55 break; 56 } 57 } 58 } 38 59 39 60 int WaitForControlChange(int card_id, int timeout)
Note:
See TracChangeset
for help on using the changeset viewer.