[linux-audio-user] aplay, plughw, alsamixer question
Gustavo Zamorano S.
gzsuniq at cableonda.net
Sat Jul 26 01:24:00 EDT 2003
hello!
I'm finishing up installing Alsa drivers on my Red Hat 9 partition.
RH 9 recognized my VIA82C sound card. But I decided to switch to Alsa
drivers. I downloaded last release (9.5).
After installing alsa drivers there was a noise after a sound was
played. On the sound server setup I selected:
Use custom sampling rate: 48000
and:
Other custom options:
-a oss
After compiling the drivers, be sure to run snddevices. If you miss it,
then amixer and alsamixer will not run.
Then, I compiled and installed the alsa-libs and then alsa-utils.
I run alsamixer several times to change PCM and Master controls to
different levels to test aplay /usr/share/sound/startup3.wav. Aplay
played sounds at volumn levels controlled by alsamixer.
So, I think you missed to run snddevices under the alsa-drivers directory.
I hope this will help you.
The same Alsa drivers are running very well on my RHat 8.0 partition.
GZS
fpirrone wrote:
> Mark Knecht wrote:
>
>> No responses here also?????
>>
>>
>>
>>> -----Original Message-----
>>> From: linux-audio-user-admin at music.columbia.edu
>>> [mailto:linux-audio-user-admin at music.columbia.edu]On Behalf Of Mark
>>> Knecht
>>> Sent: Friday, July 25, 2003 7:42 AM
>>> To: Linux-Audio-User
>>> Subject: [linux-audio-user] aplay, plughw, alsamixer question
>>>
>>>
>>> Hi,
>>> Hi. I asked this question on Alsa-Dev yesterday, but 17 hours later
>>> got
>>> no answers. Excuse me to those that subscribe to both lists.
>>>
>>> This info is to help me do more debug work on a new HDSP 9652 driver
>>> version that I am helping to test.
>>>
>>> Should the volume levels I hear when using the command
>>>
>>> aplay -Dplughw:0 -r 44100 data/wave/seque~10.wav
>>>
>>> be controlled by alsamixer?
>>>
>>> The volumes for alsaplayer are being controlled by alsamixer, but
>>> this aplay
>>> command is not, at least right now on a new driver I'm using.
>>>
>>> Also, on a multichannel card, how do I direct the above aplay
>>> command to
>>> a specific channel? I am finding that with this new driver the audio is
>>> appearing on ALL channels on the card, even for a mono wave file. I
>>> think
>>> this is a bug, but I'm not sure.
>>>
>>> If there's an explanation fit for a simpleton like me about the
>>> difference between plughw and hw and when to use one vs. the other,
>>> please
>>> point me there so I can learn. I have read a bit on the Alsa site about
>>> plughw talking directly to the kernel, but beyond that I have not
>>> discovered
>>> any documentation yet.
>>>
>>> Thanks in advance.
>>>
>>> Cheers,
>>> Mark
>>>
> Mark,
>
> I don't have any experiences with your hardware and didn't think my
> reply would be of much use to you, but running the exact command you
> post on my cs4236 system produces sound that is under control of
> alsamixer, as does -Dhw:0, so that suggests to me that aplay is directly
> affected by the settings in the mixer.
> Now, some cards do not have a mixer so they should not behave this way,
> as I assume would be the case if there were something wrong with the
> driver for a card that does have a mixer. In either event I would not
> expect to see controls in amixer or the gamix graphical interface. If
> you see them and they have no effect that sounds like a malfunction.
>
> Couldn't find any answer to your channel question. My system does not
> seem to provide a relevant option to explore this further. I fooled
> around with -c and -I options but could draw no useful conclusions.
>
> Frank
>
>
--
This Message is sent from my Red Hat 9.0 Linux server
Machine Registration number 205692 at http://counter.li.org/
.-. Gustavo Zamorano S.
.-. | Registered Linux user number 320898
.-. | | at http://counter.li.org/
More information about the Linux-audio-user
mailing list