All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alien <alien999999999@users.sourceforge.net>
To: openvortex-dev@nongnu.org
Cc: Raymond <rayau@netvigator.com>, alsa-devel@lists.sourceforge.net
Subject: Re: au88x0_synth
Date: Tue, 7 Jun 2005 17:03:00 +0200	[thread overview]
Message-ID: <200506071703.03192.alien999999999@users.sourceforge.net> (raw)
In-Reply-To: <42A5A4A3.7040108@netvigator.com>

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

Op dinsdag 7 juni 2005 15:44, schreef Raymond:
>  From your png, it seem that you are not using the alsamixer in the
> latest version of alsa-utils.

since i'm using alsa CVS for driver, kernel and lib; i'll use utils from CVS 
as well...

> The alsamixer or amixer are unable to display EQ Peaks correctly, the EQ
> Peaks is a volatile read-only kcontrol which return 20 EQ peak values
> from the 10-bands stereo hardware equalizer in au8810/au8830.

didn't know that, in the previous versions, i know that all these peaks were 
listed as mono sliders, not partly mono and stereo...

> The graphic equalizer in vortexcontrol use a timer callback to read and
> display the EQ peaks when EQ Enable switch is on. (attached vc_eq.png)

vortexcontrol looks nice, from what alsa CVS package is that?

> Alien wrote:
> >>What do you mean when you say "the equalizer sliders look odd" ?
> >
> > i'll show you: see png file, notice that the first 2 peaks are stereo,
> > and the last 2 peaks are mono... ???
> >
> >>Would you post the settings of the equalizer from "/data/path/mixer" or
> >>/etc/asound.state ?
> >
> > I must also say that when restoring, i always get one warning: something
> > with bad value for... somethingorother
>
> When you upgrade from ALSA 1.0.8 to ALSA 1.0.9 ,the SPDIF sample rate
> control ( ALSA 1.0.8 ) has been replaced by the IEC958 control ( ALSA
> 1.0.9 ).

thanks for the info, but since i'm not using SPDIF, this was never any 
relevance for me

> You will need to delete old setting in "/data/path/mixer" and use
> alsactl to store the new setting, otherwise error will occur if you try
> to use alsactrl to restore the value of emunerated spdif sample rate
> control settings saved by the previous ALSA version to the au8810 in
> ALSA 1.0.9 driver.

actually, this one warning has been there for quite some time, i donno if it's 
emu10k1 or au8810... (i think even in 32bit, not sure about that), when 
storing it, modprobe -r and modprobe again, and restoring, the warning 
stays...

> Your /etc/asound.state seem OK and the equalizer is OFF.

never used the equalizer, i wasn't able to put the whole asound.state file, (i 
removed the emu10k1 stuff), cause the size of the mail was too large...

> > /etc/asound.state:
> > state.au8810 {
> > 	control.1 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'EQ Enable'
> > 		value false
> > 	}
> > 	control.2 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ0 31Hz'
> > 		value.0 16375
> > 		value.1 16375
> > 	}
> > 	control.3 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ1 63Hz'
> > 		value.0 16392
> > 		value.1 16392
> > 	}
> > 	control.4 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ2 125Hz'
> > 		value.0 16375
> > 		value.1 16375
> > 	}
> > 	control.5 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ3 250Hz'
> > 		value.0 16022
> > 		value.1 16022
> > 	}
> > 	control.6 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ4 500Hz'
> > 		value.0 16022
> > 		value.1 16022
> > 	}
> > 	control.7 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ5 1KHz'
> > 		value.0 16022
> > 		value.1 16022
> > 	}
> > 	control.8 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ6 2KHz'
> > 		value.0 16022
> > 		value.1 16022
> > 	}
> > 	control.9 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ7 4KHz'
> > 		value.0 16022
> > 		value.1 16022
> > 	}
> > 	control.10 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ8 8KHz'
> > 		value.0 16022
> > 		value.1 16022
> > 	}
> > 	control.11 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ9 16KHz'
> > 		value.0 16022
> > 		value.1 16022
> > 	}
> > 	control.12 {
> > 		comment.access read
> > 		comment.type INTEGER
> > 		comment.range '0 - 32767'
> > 		iface MIXER
> > 		name 'EQ Peaks'
> > 		value.0 0
> > 		value.1 0
> > 		value.2 0
> > 		value.3 0
> > 		value.4 0
> > 		value.5 0
> > 		value.6 0
> > 		value.7 0
> > 		value.8 0
> > 		value.9 0
> > 		value.10 0
> > 		value.11 0
> > 		value.12 0
> > 		value.13 0
> > 		value.14 0
> > 		value.15 0
> > 		value.16 0
> > 		value.17 0
> > 		value.18 0
> > 		value.19 0
> > 	}
> > 	control.13 {
> > 		comment.access 'read write'
> > 		comment.type IEC958
> > 		iface PCM
> > 		name 'IEC958 Playback Default'
> > 		value
> > '008200000000000000000000000000000000000000000000000000000000000000000000
> >00000000000000000000000000000000000000000000000000000000000000000000000000
> >00000000000000000000000000000000000000000000000000000000000000000000000000
> >00000000000000000000000000000000000000000000000000000000000000000000000000
> >0000000000000000000000000000000000000000000000000000000000' }
> > 	control.14 {
> > 		comment.access read
> > 		comment.type IEC958
> > 		iface PCM
> > 		name 'IEC958 Playback Con Mask'
> > 		value
> > ffffff0f00000000000000000000000000000000000000000000000000000000000000000
> >00000000000000000000000000000000000000000000000000000000000000000000000000
> >00000000000000000000000000000000000000000000000000000000000000000000000000
> >00000000000000000000000000000000000000000000000000000000000000000000000000
> >000000000000000000000000000000000000000000000000000000000 }
> > 	control.15 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Master Playback Switch'
> > 		value true
> > 	}
> > 	control.16 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'Master Playback Volume'
> > 		value.0 24
> > 		value.1 24
> > 	}
> > 	control.17 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Master Mono Playback Switch'
> > 		value true
> > 	}
> > 	control.18 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'Master Mono Playback Volume'
> > 		value 24
> > 	}
> > 	control.19 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'PC Speaker Playback Switch'
> > 		value false
> > 	}
> > 	control.20 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 15'
> > 		iface MIXER
> > 		name 'PC Speaker Playback Volume'
> > 		value 0
> > 	}
> > 	control.21 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Phone Playback Switch'
> > 		value false
> > 	}
> > 	control.22 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'Phone Playback Volume'
> > 		value 0
> > 	}
> > 	control.23 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Mic Playback Switch'
> > 		value false
> > 	}
> > 	control.24 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'Mic Playback Volume'
> > 		value 0
> > 	}
> > 	control.25 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Mic Boost (+20dB)'
> > 		value false
> > 	}
> > 	control.26 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Line Playback Switch'
> > 		value true
> > 	}
> > 	control.27 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'Line Playback Volume'
> > 		value.0 24
> > 		value.1 24
> > 	}
> > 	control.28 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'CD Playback Switch'
> > 		value true
> > 	}
> > 	control.29 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'CD Playback Volume'
> > 		value.0 24
> > 		value.1 24
> > 	}
> > 	control.30 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Video Playback Switch'
> > 		value false
> > 	}
> > 	control.31 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'Video Playback Volume'
> > 		value.0 0
> > 		value.1 0
> > 	}
> > 	control.32 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Aux Playback Switch'
> > 		value false
> > 	}
> > 	control.33 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'Aux Playback Volume'
> > 		value.0 0
> > 		value.1 0
> > 	}
> > 	control.34 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'PCM Playback Switch'
> > 		value true
> > 	}
> > 	control.35 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 31'
> > 		iface MIXER
> > 		name 'PCM Playback Volume'
> > 		value.0 24
> > 		value.1 24
> > 	}
> > 	control.36 {
> > 		comment.access 'read write'
> > 		comment.type ENUMERATED
> > 		comment.item.0 Mic
> > 		comment.item.1 CD
> > 		comment.item.2 Video
> > 		comment.item.3 Aux
> > 		comment.item.4 Line
> > 		comment.item.5 Mix
> > 		comment.item.6 'Mix Mono'
> > 		comment.item.7 Phone
> > 		iface MIXER
> > 		name 'Capture Source'
> > 		value.0 Line
> > 		value.1 Line
> > 	}
> > 	control.37 {
> > 		comment.access 'read write'
> > 		comment.type BOOLEAN
> > 		iface MIXER
> > 		name 'Capture Switch'
> > 		value true
> > 	}
> > 	control.38 {
> > 		comment.access 'read write'
> > 		comment.type INTEGER
> > 		comment.range '0 - 15'
> > 		iface MIXER
> > 		name 'Capture Volume'
> > 		value.0 12
> > 		value.1 12
> > 	}
> > 	control.39 {
> > 		comment.access 'read write'
> > 		comment.type ENUMERATED
> > 		comment.item.0 Mix
> > 		comment.item.1 Mic
> > 		iface MIXER
> > 		name 'Mono Output Select'
> > 		value Mix
> > 	}
> > 	control.40 {
> > 		comment.access 'read write'
> > 		comment.type ENUMERATED
> > 		comment.item.0 Mic1
> > 		comment.item.1 Mic2
> > 		iface MIXER
> > 		name 'Mic Select'
> > 		value Mic1
> > 	}
> > }
>
> After eight instances of "mplayer" playing stereo music concurrently in
> my 32-bits machine and start an instance of aplay.
>
> aplay outls.wav
> Playing WAVE 'outls.wav' : Signed 16 bit Little Endian, Rate 22050 Hz,
> Stereo
> aplay: set_params:935: Unable to install hw params:
> ACCESS:  RW_INTERLEAVED
> FORMAT:  S16_LE
> SUBFORMAT:  STD
> SAMPLE_BITS: 16
> FRAME_BITS: 32
> CHANNELS: 2
> RATE: 22050
> PERIOD_TIME: (46439 46440)
> PERIOD_SIZE: 1024
> PERIOD_BYTES: 4096
> PERIODS: 11
> BUFFER_TIME: (510839 510840)
> BUFFER_SIZE: 11264
> BUFFER_BYTES: 45056
> TICK_TIME: 10000
>
>
> aplay abort as there is no more SampleRateConvertors available.
>
> There is no deadlock or hang. After the "mplayer" finish playing and
> release the SRCs, I can start another instance of ALSA application to
> play music.


I'm going to try to do the same thing with xine and CVS aplay, see what 
happens...

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-06-07 15:03 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-20  1:11 au88x0_synth Raymond
2005-03-21 20:00 ` au88x0_synth Takashi Iwai
2005-03-30  8:04   ` au88x0_synth Raymond
2005-03-30  8:09     ` au88x0_synth Clemens Ladisch
2005-04-12 14:14       ` au88x0_synth Raymond
2005-04-14 15:31       ` au88x0_synth Raymond
2005-04-15 13:07         ` au88x0_synth Takashi Iwai
2005-04-19  8:39           ` au88x0_synth Raymond
2005-04-19  9:39             ` au88x0_synth Takashi Iwai
2005-04-20  9:33               ` au88x0_synth Raymond
2005-05-07 12:27               ` au88x0_synth Raymond
2005-03-30  8:13     ` au88x0_synth Alien
2005-03-30 10:08       ` Takashi Iwai
2005-03-30 10:21         ` Alien
2005-03-30 10:27           ` Takashi Iwai
2005-04-23  4:04       ` au88x0_synth Raymond
2005-04-23  7:28         ` au88x0_synth Alien
2005-04-28 10:21           ` au88x0_synth Raymond
2005-05-13 14:05           ` au88x0_synth Raymond
2005-05-13 14:27             ` au88x0_synth Alien
2005-05-14  8:12               ` au88x0_synth Raymond
2005-05-15 12:41                 ` au88x0_synth Alien
2005-06-06  2:56                   ` au88x0_synth Raymond
2005-06-06  8:49                     ` au88x0_synth Alien
2005-06-06  8:56                       ` Suspicious Attachment phiber
2005-06-06 11:03                       ` au88x0_synth Raymond
2005-06-06 14:35                         ` au88x0_synth Alien
2005-06-07 13:44                           ` au88x0_synth Raymond
2005-06-07 15:03                             ` Alien [this message]
2005-03-31 22:52     ` au88x0_synth Manuel Jander
2005-07-01 13:42   ` au88x0_synth Raymond
2005-03-24 14:34 ` au88x0_synth Manuel Jander
2005-03-31  9:23   ` au88x0_synth Raymond
2005-03-31 10:40     ` au88x0_synth Clemens Ladisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200506071703.03192.alien999999999@users.sourceforge.net \
    --to=alien999999999@users.sourceforge.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=openvortex-dev@nongnu.org \
    --cc=rayau@netvigator.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.