Skip to contentSkip to conversation

aplay Problem Alsa 1.0.7rc2 Kernel 2.4.21-243-smp

DISCUSSION Thomas Koenig 2 participants 2 messages Oct 18, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

When we tried Alsa 1.0.7rc2 on a 2.4.21-243-smp 64-Bit Linux Box aplay will not play Sounds.

Same Kernel in 32-Bit Alsa 1.0.6a work fine.
Compiling Alsa 1.0.6a with 64-Bit dose not work so we take Alsa 1.0.7rc2 where compiling seemd to be ok.

Play play /usr/share/sounds/alsa/test.wav (osslibs) work but when we try to aplay a sound we got:

sider11-s1 /home/vtssim> aplay -D c56 /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

aplay: set_params:910: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: NONE
PERIOD_TIME: (74285 74286)
PERIOD_SIZE: (392911 392912)
PERIOD_BYTES: (1571644 1571648)
PERIODS: (2 3)
BUFFER_TIME: (148594 148595)
BUFFER_SIZE: 785951
BUFFER_BYTES: 3143804
TICK_TIME: 0

Just for Info:

sider11-s1 /home/vtssim> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Phase88 [TerraTec Phase88], device 0: ICE1712 multi [ICE1712 multi]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Phase88 [TerraTec Phase88], device 1: ICE1712 consumer [ICE1712 consumer]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Phase88 [TerraTec Phase88], device 2: ICE1712 consumer (DS) [ICE1712 consumer (DS)]
Subdevices: 6/6
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5

sider11-s1 /home/vtssim> cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1991.475
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 3915.77
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 5
model name : AMD Opteron(tm) Processor 246
stepping : 10
cpu MHz : 1991.475
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips : 3981.31
TLB size : 1088 4K pages
clflush size : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

Same Kernel in 32-Bit Alsa work fine. But when we change to 64-Bit aplay has Problems:

sider11-s1 /home/vtssim> aplay -D c56 /usr/share/sounds/alsa/test.wav
Playing WAVE '/usr/share/sounds/alsa/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

aplay: set_params:910: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: NONE
PERIOD_TIME: (74285 74286)
PERIOD_SIZE: (392911 392912)
PERIOD_BYTES: (1571644 1571648)
PERIODS: (2 3)
BUFFER_TIME: (148594 148595)
BUFFER_SIZE: 785951
BUFFER_BYTES: 3143804
TICK_TIME: 0

Please Reply to [email protected]

Signature · 18 lines
mit freundlichen Grüßen

Thomas Koenig
Rheinmetall Defence Electronics GmbH
Simulation Division
Brüggeweg 54
D-28309 Bremen
Tel. : +49/421/457-4184
Fax  : +49/421/457-3578
email: [email protected]



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
#1 lore raw
Quoted 1 line · On Mon, 18 Oct 2004 11:02:49 +0200 Thomas Koenig…

sider11-s1 /home/vtssim> aplay -D c56 /usr/share/sounds/alsa/test.wav

Hi,

how and where is the pcm device c56 defined?

flo

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl