I want to dmix for my MIPS board, how can I do?
YWxzYS1kZXZlbKOsDQoNCiAgSSdtIGFuIGRldmljZSBkcml2ZXIgZGV2ZWxvcGVyIGZvciBNSVBT IGJvYXJkLiBOb3csIEknbSBpbiB1cmdlbnQgbmVlZCBvZiBkbWl4IHNvdXJjZSBjb2RlIGZvciBt eSBBY2hlbXkgYm9hcmQuDQogIEkgd2FudCB0byBkbWl4IG9uIG15IE1JUFMgQXUxeDAwIGJvYXJk LCBTZWdtZW50YXRpb24gRmF1bHQgb2NjdXJzLiBJIGxvb2sgdXAgdGhlIGNvZGUgb2YgcGNtX2Rt aXguYyBmb3IgcG9zc2libGUgcmVhc29uLCANCiAgaXQgc2F5cywNCiAgICAjd2FybmluZyBQbGVh c2UsIHJlY29kZSBtaXhfYXJlYXMxKCkgcm91dGluZSB0byB5b3VyIGFyY2hpdGVjdHVyZS4uLg0K CXdhcm5pbmcgUGxlYXNlLCByZWNvZGUgbWl4X2FyZWFzMigpIHJvdXRpbmUgdG8geW91ciBhcmNo aXRlY3R1cmUuLi4NCiAgRG9lcyBpdCBtZWFuIHRoZSBkbWl4IGNhbiBvbmx5IGJlIHVzZWQgb24g WDg2IGFyY2hpdGVjdHVyZSBub3c/DQogIGlmIEkgd2FudCB0byB1c2UgaXQgb24gbXkgTUlQUyBi b2FyZCwgaG93IGNhbiBJIGRvPyANCiAgDQogIExvb2tpbmcgZm9yd2FyZCB0byBhbnlvbmUncyBy ZXBseSEgVGFua3MgaW4gYWR2YW5jZSENCg0KICBDaGVyZXMsDQogIExpIEppYW4ta3VuDQoNCqGh oaGhoaGhoaGhoaGhoaFsaV9qaWFua3VuQGhvdG1haWwuY29tDQqhoaGhoaGhoaGhoaGhoaGhoaGh oTIwMDUtMDMtMDcNCg==
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 11 lines · 李建坤
alsa-devel,
I'm an device driver developer for MIPS board. Now, I'm in urgent need of dmix source code for my Achemy board. I want to dmix on my MIPS Au1x00 board, Segmentation Fault occurs. I look up the code of
pcm_dmix.cfor possible reason, it says,
#warning Please, recodemix_areas1()routine to your architecture...
warning Please, recodemix_areas2()routine to your architecture...
Does it mean the dmix can only be used on X86 architecture now?
if I want to use it on my MIPS board, how can I do?Looking forward to anyone's reply! Tanks in advance!
Yup, that's exactly what it means. Dmix is only implemented for x86 now. If you want to use it on another arch you have to code it yourself.
But, isn't there a cleaner way to handle this than segfaulting? Why do we even compile the plugin for non-x86 archs?
Lee
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
At Mon, 07 Mar 2005 14:35:10 -0500,
Quoted 12 lines · Lee Revell
Quoted 10 lines · 李建坤
alsa-devel,
I'm an device driver developer for MIPS board. Now, I'm in urgent need of dmix source code for my Achemy board. I want to dmix on my MIPS Au1x00 board, Segmentation Fault occurs. I look up the code of
pcm_dmix.cfor possible reason, it says,
#warning Please, recodemix_areas1()routine to your architecture...
warning Please, recodemix_areas2()routine to your architecture...
Does it mean the dmix can only be used on X86 architecture now?
if I want to use it on my MIPS board, how can I do?
Quoted 8 lines
Quoted 1 line
Looking forward to anyone's reply! Tanks in advance!
Yup, that's exactly what it means. Dmix is only implemented for x86 now. If you want to use it on another arch you have to code it yourself.
But, isn't there a cleaner way to handle this than segfaulting? Why do we even compile the plugin for non-x86 archs?
Well, segfault is not intended, of course :)
Does the segfault still happen with the CVS version?
If so, there must be something wrong in another part (e.g. the general mmap support on MIPS).
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 20 lines · Takashi Iwai
At Mon, 07 Mar 2005 14:35:10 -0500,
Quoted 18 lines · Lee Revell
Quoted 11 lines · 李建坤
alsa-devel,
I'm an device driver developer for MIPS board. Now, I'm in urgent need of dmix source code for my Achemy board. I want to dmix on my MIPS Au1x00 board, Segmentation Fault occurs. I look up the code of
pcm_dmix.cfor possible reason, it says,
#warning Please, recodemix_areas1()routine to your architecture...
warning Please, recodemix_areas2()routine to your architecture...
Does it mean the dmix can only be used on X86 architecture now?
if I want to use it on my MIPS board, how can I do?Looking forward to anyone's reply! Tanks in advance!
Yup, that's exactly what it means. Dmix is only implemented for x86 now. If you want to use it on another arch you have to code it yourself.
Quoted 8 lines
Quoted 2 lines
But, isn't there a cleaner way to handle this than segfaulting? Why do we even compile the plugin for non-x86 archs?
Well, segfault is not intended, of course :)
Does the segfault still happen with the CVS version?
If so, there must be something wrong in another part (e.g. the general mmap support on MIPS).
IIRC someone else reported a segfault trying to use dmix with another unsupported arch. So this led me to believe the problem was related.
Lee
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
At Mon, 07 Mar 2005 14:47:33 -0500,
Quoted 25 lines · Lee Revell
Quoted 23 lines · Takashi Iwai
At Mon, 07 Mar 2005 14:35:10 -0500,
Quoted 20 lines · Lee Revell
Quoted 11 lines · 李建坤
alsa-devel,
I'm an device driver developer for MIPS board. Now, I'm in urgent need of dmix source code for my Achemy board. I want to dmix on my MIPS Au1x00 board, Segmentation Fault occurs. I look up the code of
pcm_dmix.cfor possible reason, it says,
#warning Please, recodemix_areas1()routine to your architecture...
warning Please, recodemix_areas2()routine to your architecture...
Does it mean the dmix can only be used on X86 architecture now?
if I want to use it on my MIPS board, how can I do?Looking forward to anyone's reply! Tanks in advance!
Yup, that's exactly what it means. Dmix is only implemented for x86 now. If you want to use it on another arch you have to code it yourself.
But, isn't there a cleaner way to handle this than segfaulting? Why do we even compile the plugin for non-x86 archs?
Quoted 8 lines
Quoted 5 lines
Well, segfault is not intended, of course :)
Does the segfault still happen with the CVS version?
If so, there must be something wrong in another part (e.g. the general mmap support on MIPS).IIRC someone else reported a segfault trying to use dmix with another unsupported arch. So this led me to believe the problem was related.
Could be. I wanted to make sure of this because I changed/fixed the dmix code recently on CVS.
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 11 lines · Lee Revell
Quoted 10 lines · ???
alsa-devel,
I'm an device driver developer for MIPS board. Now, I'm in urgent need of dmix source code for my Achemy board. I want to dmix on my MIPS Au1x00 board, Segmentation Fault occurs. I look up the code of
pcm_dmix.cfor possible reason, it says,
#warning Please, recodemix_areas1()routine to your architecture...
warning Please, recodemix_areas2()routine to your architecture...
Does it mean the dmix can only be used on X86 architecture now?
if I want to use it on my MIPS board, how can I do?
Quoted 8 lines
Quoted 1 line
Looking forward to anyone's reply! Tanks in advance!
Yup, that's exactly what it means. Dmix is only implemented for x86 now. If you want to use it on another arch you have to code it yourself.
But, isn't there a cleaner way to handle this than segfaulting? Why do we even compile the plugin for non-x86 archs?
Well, there is some C code which can be compiled for all archs. Although it won't work correctly, it will give a clue, what needs to be written in assembler.
It might be that this code is buggy. Do we know the segfault point in alsa-lib (backtrace)?
Jaroslav
-----
Jaroslav Kysela <[email protected]>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click