All of lore.kernel.org
 help / color / mirror / Atom feed
* alsaplayer not working with alsa?
@ 2002-12-22 21:19 Mark Knecht
       [not found] ` <20021223133402.GC28223@ecs.soton.ac.uk>
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2002-12-22 21:19 UTC (permalink / raw)
  To: Alsa-List, Alsa-Devel

Hi,
   When running alsaplayer version 0.99.73 without jack, I'm seeing this
failure:

[mark@Godzilla mark]$ alsaplayer -v
alsaplayer 0.99.73
[mark@Godzilla mark]$ alsaplayer
alsaplayer: pcm.c:6293: snd_pcm_unlink_ptr: Assertion `0' failed.
AlsaPlayer interrupted by signal 6
[mark@Godzilla mark]$

   alsaplayer works very well when jack is running.

   Anyone else seeing this?

Thanks,
Mark




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: [linux-audio-user] Re: alsaplayer not working with alsa?
       [not found] ` <20021223133402.GC28223@ecs.soton.ac.uk>
@ 2002-12-23 13:46   ` Mark Knecht
  2002-12-23 14:05     ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2002-12-23 13:46 UTC (permalink / raw)
  To: Alsa-List; +Cc: Alsa-Devel

Thanks Steve. Merry Xmas!

On Mon, 2002-12-23 at 05:34, Steve Harris wrote:
> On Sun, Dec 22, 2002 at 01:19:05 -0800, Mark Knecht wrote:
> > [mark@Godzilla mark]$ alsaplayer
> > alsaplayer: pcm.c:6293: snd_pcm_unlink_ptr: Assertion `0' failed.
> > AlsaPlayer interrupted by signal 6
> > [mark@Godzilla mark]$
> > 
> >    alsaplayer works very well when jack is running.
> > 
> >    Anyone else seeing this?
> 
> Yes.
> 
> I suspect that Fernando needs to update alsaplayer.
> 
> - Steve




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: [linux-audio-user] Re: alsaplayer not working with alsa?
  2002-12-23 13:46   ` [linux-audio-user] " Mark Knecht
@ 2002-12-23 14:05     ` Takashi Iwai
  2002-12-27 22:56       ` Mark Knecht
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2002-12-23 14:05 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Alsa-List, Alsa-Devel

Hi,

if you're using a ppc snd-powermac driver, then it's likely a
long-standing bug of alsa-lib (somehwere deep inside).  it appears
only on ppc with alsaplayer.  the maintainer is me, but, sorry, atm i
haven't had a hardware for debugging this...

have a merry christmas!


Takashi

At 23 Dec 2002 05:46:45 -0800,
Mark Knecht wrote:
> 
> Thanks Steve. Merry Xmas!
> 
> On Mon, 2002-12-23 at 05:34, Steve Harris wrote:
> > On Sun, Dec 22, 2002 at 01:19:05 -0800, Mark Knecht wrote:
> > > [mark@Godzilla mark]$ alsaplayer
> > > alsaplayer: pcm.c:6293: snd_pcm_unlink_ptr: Assertion `0' failed.
> > > AlsaPlayer interrupted by signal 6
> > > [mark@Godzilla mark]$
> > > 
> > >    alsaplayer works very well when jack is running.
> > > 
> > >    Anyone else seeing this?
> > 
> > Yes.
> > 
> > I suspect that Fernando needs to update alsaplayer.
> > 
> > - Steve
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: [linux-audio-user] Re: alsaplayer not working with alsa?
  2002-12-23 14:05     ` Takashi Iwai
@ 2002-12-27 22:56       ` Mark Knecht
  2003-01-07 15:58         ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2002-12-27 22:56 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Alsa-List, Alsa-Devel

No, just standard Intel hardware...

On Mon, 2002-12-23 at 06:05, Takashi Iwai wrote:
> Hi,
> 
> if you're using a ppc snd-powermac driver, then it's likely a
> long-standing bug of alsa-lib (somehwere deep inside).  it appears
> only on ppc with alsaplayer.  the maintainer is me, but, sorry, atm i
> haven't had a hardware for debugging this...
> 
> have a merry christmas!
> 
> 
> Takashi
> 
> At 23 Dec 2002 05:46:45 -0800,
> Mark Knecht wrote:
> > 
> > Thanks Steve. Merry Xmas!
> > 
> > On Mon, 2002-12-23 at 05:34, Steve Harris wrote:
> > > On Sun, Dec 22, 2002 at 01:19:05 -0800, Mark Knecht wrote:
> > > > [mark@Godzilla mark]$ alsaplayer
> > > > alsaplayer: pcm.c:6293: snd_pcm_unlink_ptr: Assertion `0' failed.
> > > > AlsaPlayer interrupted by signal 6
> > > > [mark@Godzilla mark]$
> > > > 
> > > >    alsaplayer works very well when jack is running.
> > > > 
> > > >    Anyone else seeing this?
> > > 
> > > Yes.
> > > 
> > > I suspect that Fernando needs to update alsaplayer.
> > > 
> > > - Steve
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/alsa-devel
> > 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: [linux-audio-user] Re: alsaplayer not working with alsa?
  2002-12-27 22:56       ` Mark Knecht
@ 2003-01-07 15:58         ` Takashi Iwai
  2003-01-08  1:37           ` Mark Knecht
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2003-01-07 15:58 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Alsa-List, Alsa-Devel

At 27 Dec 2002 14:56:22 -0800,
Mark Knecht wrote:
> 
> No, just standard Intel hardware...

well, then you have an exotic one :)

could you show /etc/asound.state?
perhaps the card lacks of some mixer controls which are required.


thanks,

Takashi


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

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

* Re: [linux-audio-user] Re: alsaplayer not working with alsa?
  2003-01-07 15:58         ` Takashi Iwai
@ 2003-01-08  1:37           ` Mark Knecht
  2003-01-23 18:33             ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Knecht @ 2003-01-08  1:37 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Alsa-List, Alsa-Devel

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

Takashi-san,
   I am attaching my current asound.state file. The installed card is an
RME HDSP 9652, their new card. My current modules.conf looks like:


alias parport_lowlevel parport_pc
alias eth0 eepro100
alias usb-controller usb-uhci

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-hdsp
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd major=116 cards_limit=3 device_mode=0666
options snd-hdsp index=0
options snd-usb-audio index=1
# --- END: Generated by ALSACONF, do not edit. ---

# -- Keep modules from being autocleaned
add options -k snd-card-0
add options -k snd-card-1

   The alsaplayer failure when jack is not running looks like:

[mark@Godzilla mark]$ alsaplayer

alsaplayer: pcm.c:6293: snd_pcm_unlink_ptr: Assertion `0' failed.
AlsaPlayer interrupted by signal 6
[mark@Godzilla mark]$


   Please let me know if thee is more information you'd like to look at.

Thanks,
Mark

On Tue, 2003-01-07 at 07:58, Takashi Iwai wrote:
> At 27 Dec 2002 14:56:22 -0800,
> Mark Knecht wrote:
> > 
> > No, just standard Intel hardware...
> 
> well, then you have an exotic one :)
> 
> could you show /etc/asound.state?
> perhaps the card lacks of some mixer controls which are required.
> 
> 
> thanks,
> 
> Takashi


[-- Attachment #2: asound.state --]
[-- Type: text/plain, Size: 27946 bytes --]

state.DSP {
	control.1 {
		comment.access 'read write'
		comment.type IEC958
		iface PCM
		name 'IEC958 Playback Default'
		value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.2 {
		comment.access 'read write inactive'
		comment.type IEC958
		iface PCM
		name 'IEC958 Playback PCM Stream'
		value '0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.3 {
		comment.access read
		comment.type IEC958
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '3b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.4 {
		comment.access read
		comment.type IEC958
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '1f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
	}
	control.5 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface PCM
		name Mixer
		value.0 0
		value.1 0
		value.2 0
	}
	control.6 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.item.0 ADAT1
		comment.item.1 Coaxial
		comment.item.2 Internal
		iface PCM
		name 'IEC958 Input Connector'
		value Internal
	}
	control.7 {
		comment.access 'read write'
		comment.type BOOLEAN
		iface PCM
		name 'IEC958 Output also on ADAT1'
		value false
	}
	control.8 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.item.0 Internal
		comment.item.1 Word
		comment.item.2 'ADAT Sync'
		comment.item.3 IEC958
		comment.item.4 ADAT1
		comment.item.5 ADAT2
		comment.item.6 ADAT3
		iface PCM
		name 'Preferred Sync Source'
		value Internal
	}
	control.9 {
		comment.access 'read write'
		comment.type BOOLEAN
		iface PCM
		name Passthru
		value false
	}
	control.10 {
		comment.access 'read write'
		comment.type BOOLEAN
		iface PCM
		name 'Line Out'
		value true
	}
	control.11 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 1
		value 15732
	}
	control.12 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 1
		value.0 0
		value.1 0
	}
	control.13 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 1
		value.0 0
		value.1 0
	}
	control.14 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 1
		value.0 0
		value.1 0
	}
	control.15 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 1
		value 0
	}
	control.16 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 1
		value 0
	}
	control.17 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 2
		value 15732
	}
	control.18 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 2
		value.0 0
		value.1 0
	}
	control.19 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 2
		value.0 0
		value.1 0
	}
	control.20 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 2
		value.0 0
		value.1 0
	}
	control.21 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 2
		value 0
	}
	control.22 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 2
		value 0
	}
	control.23 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 3
		value 15732
	}
	control.24 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 3
		value.0 0
		value.1 0
	}
	control.25 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 3
		value.0 0
		value.1 0
	}
	control.26 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 3
		value.0 0
		value.1 0
	}
	control.27 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 3
		value 0
	}
	control.28 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 3
		value 0
	}
	control.29 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 4
		value 15732
	}
	control.30 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 4
		value.0 0
		value.1 0
	}
	control.31 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 4
		value.0 0
		value.1 0
	}
	control.32 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 4
		value.0 0
		value.1 0
	}
	control.33 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 4
		value 0
	}
	control.34 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 4
		value 0
	}
	control.35 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 5
		value 15732
	}
	control.36 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 5
		value.0 0
		value.1 0
	}
	control.37 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 5
		value.0 0
		value.1 0
	}
	control.38 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 5
		value.0 0
		value.1 0
	}
	control.39 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 5
		value 0
	}
	control.40 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 5
		value 0
	}
	control.41 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 6
		value 17043
	}
	control.42 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 6
		value.0 0
		value.1 0
	}
	control.43 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 6
		value.0 0
		value.1 0
	}
	control.44 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 6
		value.0 0
		value.1 0
	}
	control.45 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 6
		value 0
	}
	control.46 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 6
		value 0
	}
	control.47 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 7
		value 17043
	}
	control.48 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 7
		value.0 0
		value.1 0
	}
	control.49 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 7
		value.0 0
		value.1 0
	}
	control.50 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 7
		value.0 0
		value.1 0
	}
	control.51 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 7
		value 0
	}
	control.52 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 7
		value 0
	}
	control.53 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 8
		value 17043
	}
	control.54 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 8
		value.0 0
		value.1 0
	}
	control.55 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 8
		value.0 0
		value.1 0
	}
	control.56 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 8
		value.0 0
		value.1 0
	}
	control.57 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 8
		value 0
	}
	control.58 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 8
		value 0
	}
	control.59 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 9
		value 17043
	}
	control.60 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 9
		value.0 0
		value.1 0
	}
	control.61 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 9
		value.0 0
		value.1 0
	}
	control.62 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 9
		value.0 0
		value.1 0
	}
	control.63 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 9
		value 0
	}
	control.64 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 9
		value 0
	}
	control.65 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 10
		value 19665
	}
	control.66 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 10
		value.0 0
		value.1 0
	}
	control.67 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 10
		value.0 0
		value.1 0
	}
	control.68 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 10
		value.0 0
		value.1 0
	}
	control.69 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 10
		value 0
	}
	control.70 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 10
		value 0
	}
	control.71 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 11
		value 0
	}
	control.72 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 11
		value.0 0
		value.1 0
	}
	control.73 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 11
		value.0 0
		value.1 0
	}
	control.74 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 11
		value.0 0
		value.1 0
	}
	control.75 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 11
		value 0
	}
	control.76 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 11
		value 0
	}
	control.77 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 12
		value 0
	}
	control.78 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 12
		value.0 0
		value.1 0
	}
	control.79 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 12
		value.0 0
		value.1 0
	}
	control.80 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 12
		value.0 0
		value.1 0
	}
	control.81 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 12
		value 0
	}
	control.82 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 12
		value 0
	}
	control.83 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 13
		value 0
	}
	control.84 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 13
		value.0 0
		value.1 0
	}
	control.85 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 13
		value.0 0
		value.1 0
	}
	control.86 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 13
		value.0 0
		value.1 0
	}
	control.87 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 13
		value 0
	}
	control.88 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 13
		value 0
	}
	control.89 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 14
		value 0
	}
	control.90 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 14
		value.0 0
		value.1 0
	}
	control.91 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 14
		value.0 0
		value.1 0
	}
	control.92 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 14
		value.0 0
		value.1 0
	}
	control.93 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 14
		value 0
	}
	control.94 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 14
		value 0
	}
	control.95 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 15
		value 0
	}
	control.96 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 15
		value.0 0
		value.1 0
	}
	control.97 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 15
		value.0 0
		value.1 0
	}
	control.98 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 15
		value.0 0
		value.1 0
	}
	control.99 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 15
		value 0
	}
	control.100 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 15
		value 0
	}
	control.101 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 16
		value 0
	}
	control.102 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 16
		value.0 0
		value.1 0
	}
	control.103 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 16
		value.0 0
		value.1 0
	}
	control.104 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 16
		value.0 0
		value.1 0
	}
	control.105 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 16
		value 0
	}
	control.106 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 16
		value 0
	}
	control.107 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 17
		value 0
	}
	control.108 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 17
		value.0 0
		value.1 0
	}
	control.109 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 17
		value.0 0
		value.1 0
	}
	control.110 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 17
		value.0 0
		value.1 0
	}
	control.111 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 17
		value 0
	}
	control.112 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 17
		value 0
	}
	control.113 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 18
		value 0
	}
	control.114 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 18
		value.0 0
		value.1 0
	}
	control.115 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 18
		value.0 0
		value.1 0
	}
	control.116 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 18
		value.0 0
		value.1 0
	}
	control.117 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 18
		value 0
	}
	control.118 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 18
		value 0
	}
	control.119 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 19
		value 0
	}
	control.120 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 19
		value.0 0
		value.1 0
	}
	control.121 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 19
		value.0 0
		value.1 0
	}
	control.122 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 19
		value.0 0
		value.1 0
	}
	control.123 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 19
		value 0
	}
	control.124 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 19
		value 0
	}
	control.125 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 20
		value 0
	}
	control.126 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 20
		value.0 0
		value.1 0
	}
	control.127 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 20
		value.0 0
		value.1 0
	}
	control.128 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 20
		value.0 0
		value.1 0
	}
	control.129 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 20
		value 0
	}
	control.130 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 20
		value 0
	}
	control.131 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 21
		value 0
	}
	control.132 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 21
		value.0 0
		value.1 0
	}
	control.133 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 21
		value.0 0
		value.1 0
	}
	control.134 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 21
		value.0 0
		value.1 0
	}
	control.135 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 21
		value 0
	}
	control.136 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 21
		value 0
	}
	control.137 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 22
		value 0
	}
	control.138 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 22
		value.0 0
		value.1 0
	}
	control.139 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 22
		value.0 0
		value.1 0
	}
	control.140 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 22
		value.0 0
		value.1 0
	}
	control.141 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 22
		value 0
	}
	control.142 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 22
		value 0
	}
	control.143 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 23
		value 0
	}
	control.144 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 23
		value.0 0
		value.1 0
	}
	control.145 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 23
		value.0 0
		value.1 0
	}
	control.146 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 23
		value.0 0
		value.1 0
	}
	control.147 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 23
		value 0
	}
	control.148 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 23
		value 0
	}
	control.149 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 24
		value 0
	}
	control.150 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 24
		value.0 0
		value.1 0
	}
	control.151 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 24
		value.0 0
		value.1 0
	}
	control.152 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 24
		value.0 0
		value.1 0
	}
	control.153 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 24
		value 0
	}
	control.154 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 24
		value 0
	}
	control.155 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 25
		value 0
	}
	control.156 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 25
		value.0 0
		value.1 0
	}
	control.157 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 25
		value.0 0
		value.1 0
	}
	control.158 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 25
		value.0 0
		value.1 0
	}
	control.159 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 25
		value 0
	}
	control.160 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 25
		value 0
	}
	control.161 {
		comment.access 'read write'
		comment.type INTEGER
		comment.range '0 - 65536 (step 1)'
		iface MIXER
		name Chn
		index 26
		value 0
	}
	control.162 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Input Peak'
		index 26
		value.0 0
		value.1 0
	}
	control.163 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Output Peak'
		index 26
		value.0 0
		value.1 0
	}
	control.164 {
		comment.access read
		comment.type INTEGER
		comment.range '0 - 0'
		iface PCM
		name 'Playback Peak'
		index 26
		value.0 0
		value.1 0
	}
	control.165 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Playback RMS'
		index 26
		value 0
	}
	control.166 {
		comment.access read
		comment.type INTEGER64
		comment.range '0 - 0'
		iface PCM
		name 'Input RMS'
		index 26
		value 0
	}
}

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

* Re: [linux-audio-user] Re: alsaplayer not working with alsa?
  2003-01-08  1:37           ` Mark Knecht
@ 2003-01-23 18:33             ` Takashi Iwai
  0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2003-01-23 18:33 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Jack Howarth, Alsa-Devel

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

Hi Mark and Jack,

regarding to the alsaplayer problem:

could you try the attached patch (to cvs version) ?
hope this fixes the nasty bug...


ciao,

Takashi

[-- Attachment #2: pcm-unlink-fix.dif --]
[-- Type: application/octet-stream, Size: 1299 bytes --]

Index: alsa-lib/src/pcm/pcm.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-lib/src/pcm/pcm.c,v
retrieving revision 1.122
diff -u -r1.122 pcm.c
--- alsa-lib/src/pcm/pcm.c	19 Dec 2002 11:33:08 -0000	1.122
+++ alsa-lib/src/pcm/pcm.c	23 Jan 2003 18:29:28 -0000
@@ -6291,7 +6291,7 @@
 			goto __found;
 		}
 	}
-	assert(0);
+	/* assert(0); */
 	return;
 
       __found:
Index: alsa-lib/src/pcm/pcm_plug.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-lib/src/pcm/pcm_plug.c,v
retrieving revision 1.72
diff -u -r1.72 pcm_plug.c
--- alsa-lib/src/pcm/pcm_plug.c	17 Sep 2002 16:13:12 -0000	1.72
+++ alsa-lib/src/pcm/pcm_plug.c	23 Jan 2003 18:28:24 -0000
@@ -70,6 +70,8 @@
 		return -EINVAL;
 	}
 	if (plug->close_slave) {
+		snd_pcm_unlink_hw_ptr(pcm, plug->req_slave);
+		snd_pcm_unlink_appl_ptr(pcm, plug->req_slave);
 		err = snd_pcm_close(plug->req_slave);
 		if (err < 0)
 			result = err;
@@ -313,6 +315,8 @@
 	snd_pcm_t *slave = plug->req_slave;
 	/* Clear old plugins */
 	if (plug->slave != slave) {
+		snd_pcm_unlink_hw_ptr(pcm, plug->slave);
+		snd_pcm_unlink_appl_ptr(pcm, plug->slave);
 		snd_pcm_close(plug->slave);
 		plug->slave = slave;
 		pcm->fast_ops = slave->fast_ops;

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

end of thread, other threads:[~2003-01-23 18:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-22 21:19 alsaplayer not working with alsa? Mark Knecht
     [not found] ` <20021223133402.GC28223@ecs.soton.ac.uk>
2002-12-23 13:46   ` [linux-audio-user] " Mark Knecht
2002-12-23 14:05     ` Takashi Iwai
2002-12-27 22:56       ` Mark Knecht
2003-01-07 15:58         ` Takashi Iwai
2003-01-08  1:37           ` Mark Knecht
2003-01-23 18:33             ` 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.