All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.5.70-bk7 (alsa 0.9.4) -- sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this function)
@ 2003-06-02 21:47 Miles Lane
  2003-06-03 10:07 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Miles Lane @ 2003-06-02 21:47 UTC (permalink / raw)
  To: Jaroslav Kysela, alsa-devel

   CC [M]  sound/usb/usbaudio.o
sound/usb/usbaudio.c: In function `parse_audio_format_i_type':
sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this 
function)
sound/usb/usbaudio.c:1947: (Each undeclared identifier is reported only once
sound/usb/usbaudio.c:1947: for each function it appears in.)
sound/usb/usbaudio.c:1947: `altno' undeclared (first use in this function)
make[2]: *** [sound/usb/usbaudio.o] Error 1

CONFIG_SOUND=m
# CONFIG_DMASOUND_AWACS is not set

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_MEMORY=y
CONFIG_SND_DEBUG_DETECT=y

# ALSA PowerMac devices
#
CONFIG_SND_POWERMAC=m

#
# ALSA USB devices
#
CONFIG_SND_USB_AUDIO=m



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.70-bk7 (alsa 0.9.4) -- sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this function)
  2003-06-02 21:47 2.5.70-bk7 (alsa 0.9.4) -- sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this function) Miles Lane
@ 2003-06-03 10:07 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-06-03 10:07 UTC (permalink / raw)
  To: Miles Lane; +Cc: Jaroslav Kysela, alsa-devel

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

At Mon, 02 Jun 2003 14:47:46 -0700,
Miles Lane wrote:
> 
>    CC [M]  sound/usb/usbaudio.o
> sound/usb/usbaudio.c: In function `parse_audio_format_i_type':
> sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this 
> function)
> sound/usb/usbaudio.c:1947: (Each undeclared identifier is reported only once
> sound/usb/usbaudio.c:1947: for each function it appears in.)
> sound/usb/usbaudio.c:1947: `altno' undeclared (first use in this function)
> make[2]: *** [sound/usb/usbaudio.o] Error 1

the attached patch works?


Takashi

[-- Attachment #2: usb-fix.dif --]
[-- Type: application/octet-stream, Size: 487 bytes --]

--- linux/sound/usb/usbaudio.c	2 Jun 2003 10:04:45 -0000	1.56
+++ linux/sound/usb/usbaudio.c	3 Jun 2003 10:05:59 -0000
@@ -1939,7 +1939,7 @@
 	switch (format) {
 	case 0: /* some devices don't define this correctly... */
 		snd_printdd(KERN_INFO "%d:%u:%d : format type 0 is detected, processed as PCM\n",
-			    dev->devnum, iface_no, altno);
+			    dev->devnum, fp->iface, fp->altsetting);
 		/* fall-through */
 	case USB_AUDIO_FORMAT_PCM:
 		if (sample_width > sample_bytes * 8) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-03 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02 21:47 2.5.70-bk7 (alsa 0.9.4) -- sound/usb/usbaudio.c:1947: `iface_no' undeclared (first use in this function) Miles Lane
2003-06-03 10:07 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.