Help - Search - Members - Calendar
Full Version: Sound Card Problem: Must Be 44.1khz ...
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
caritas
I have a akita and installed hentges ROM on it.

For play SFC games, I compiled libsdl with fb support on (qpe support off) and snes9x.
With the QVGA support in Linux kernel 2.6.17, the video side is very good. But the sound side doesn't work.
(In Linux 2.6.16 of OZ 3.5.4.1, the sound works good, but the video is too small).

But the music can be played properly under Linux 2.6.17. So sound card driver can work, at least under some
specific condition. I try a sound wave file with 8 bit, 11025 Hz, and the it can not be played by mplayer.
So I think the sound card can work only under certain condition.

Then, I modified the snes9x, make it use 44100 Hz instead of 22050 Hz, and now I can play SFC games on
my zaurus perfectly (except the cursor, which is always there).

Why the sound card can not work in 22050 Hz?

Best Regards
Ying Huang
zaurick
QUOTE(caritas @ Nov 30 2006, 02:49 PM)
I have a akita and installed hentges ROM on it.

For play SFC games, I compiled libsdl with fb support on (qpe support off) and snes9x.
With the QVGA support in Linux kernel  2.6.17, the video side is very good. But the sound side doesn't work.
(In Linux 2.6.16 of OZ 3.5.4.1, the sound works good, but the video is too small).

But the music can be played properly under Linux 2.6.17. So sound card driver can work, at least under some
specific condition. I try a sound wave file with 8 bit, 11025 Hz, and the it can not be played by mplayer.
So I think the sound card can work only under certain condition.

Then, I modified the snes9x, make it use 44100 Hz instead of 22050 Hz, and now I can play SFC games on
my zaurus perfectly (except the cursor, which is always there).

Why the sound card can not work in 22050 Hz?

Best Regards
Ying Huang
*


I don't know for the sound but i have a lot of problem with oz3.5.4.2 sound too on a spitz.
cat some sound raw to /dev/dsp don't work , volume can not be controled by opie and gpe, ...

but if it can help you :
for hide cursor, stop blinkin and disable blankin screen in console you can type
echo "\033c\033[9;0]\033[?33l\033[?25l" >/dev/console
and to return to the console default config type
echo "\033c"> /dev/console
if /dev/console doesn't word try /dev/tty or /dev/tty0.

it work fine for me.

Best Regards
zaurick
CoreDump
QUOTE(zaurick @ Nov 30 2006, 11:28 PM)
QUOTE(caritas @ Nov 30 2006, 02:49 PM)
I have a akita and installed hentges ROM on it.

For play SFC games, I compiled libsdl with fb support on (qpe support off) and snes9x.
With the QVGA support in Linux kernel  2.6.17, the video side is very good. But the sound side doesn't work.
(In Linux 2.6.16 of OZ 3.5.4.1, the sound works good, but the video is too small).

But the music can be played properly under Linux 2.6.17. So sound card driver can work, at least under some
specific condition. I try a sound wave file with 8 bit, 11025 Hz, and the it can not be played by mplayer.
So I think the sound card can work only under certain condition.

Then, I modified the snes9x, make it use 44100 Hz instead of 22050 Hz, and now I can play SFC games on
my zaurus perfectly (except the cursor, which is always there).

Why the sound card can not work in 22050 Hz?

Best Regards
Ying Huang
*


I don't know for the sound but i have a lot of problem with oz3.5.4.2 sound too on a spitz.
cat some sound raw to /dev/dsp don't work , volume can not be controled by opie and gpe, ...

but if it can help you :
for hide cursor, stop blinkin and disable blankin screen in console you can type
echo "\033c\033[9;0]\033[?33l\033[?25l" >/dev/console
and to return to the console default config type
echo "\033c"> /dev/console
if /dev/console doesn't word try /dev/tty or /dev/tty0.

it work fine for me.

Best Regards
zaurick
*



Both sound issues should be fixed by an updated kernel (well, at least the opie one is).
A new kernel should be available soon.
zaurick
QUOTE
Both sound issues should be fixed by an updated kernel (well, at least the opie one is).
A new kernel should be available soon.
*


Thanks CoreDump, i have updated my 3.5.4.2 and now i can cat sound to /dev/dsp smile.gif .
Maybe caritas problem is resolved too.
The last thing that don't work is the volume control in opie.

Thanks to all OZ devloppers for their work !
I use OZ every day on my C3000 and it's the best rom for me.

Zaurick.
STrRedWolf
Which kernel version is this, Coredump?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.