Update of /cvsroot/alsa/alsa-tools/envy24control In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27590
Modified Files: hardware.c Log Message: Delta1010LT has wordclock too Index: hardware.c =================================================================== RCS file: /cvsroot/alsa/alsa-tools/envy24control/hardware.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- hardware.c 3 Nov 2003 18:20:53 -0000 1.12 +++ hardware.c 19 Feb 2004 10:44:53 -0000 1.13 @@ -45,7 +45,8 @@ if ((err = snd_ctl_elem_read(ctl, internal_clock)) < 0) g_print("Unable to read Internal Clock state: %s\n", snd_strerror(err)); - if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010) { + if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010 || + card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010LT) { if ((err = snd_ctl_elem_read(ctl, word_clock_sync)) < 0) g_print("Unable to read word clock sync selection: %s\n", snd_strerror(err)); } @@ -78,7 +79,8 @@ { int err; - if (card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010) + if (card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010 && + card_eeprom.subvendor != ICE1712_SUBDEVICE_DELTA1010LT) return; snd_ctl_elem_value_set_boolean(word_clock_sync, 0, on ? 1 : 0); if ((err = snd_ctl_elem_write(ctl, word_clock_sync)) < 0) @@ -169,7 +171,8 @@ if ((err = snd_ctl_elem_read(ctl, internal_clock)) < 0) g_print("Unable to read Internal Clock state: %s\n", snd_strerror(err)); - if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010) { + if (card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010 || + card_eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010LT) { if ((err = snd_ctl_elem_read(ctl, word_clock_sync)) < 0) g_print("Unable to read word clock sync selection: %s\n", snd_strerror(err)); } ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog