Port-dreamcast archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Kernel panic with audioplay



Seems you have more than enough free memory.

The audio device configures at 48 kHz this is allowed by the driver but might 
be causing problems.

Please set the frequency sysctl to 44100 Hz:

sysctl -w hw.aica0.frequency=44100

And try playing something again -  If this works I'll make changes to aica.c.

If it does not work try the attached patch.

Best regards,

Nat

On Tue, 25 Jul 2017 11:22:51 Nathanial Sloss wrote:
> I believe audio* at audiobus? is the correct attachment.
> 
> I was wondering how much memory you have free?
> 
> What is the output of dmesg | grep SLINEAR?
> 
> Please cc me as I'm not subscribed to the list.
> 
Index: aica.c
===================================================================
RCS file: /cvsroot/src/sys/arch/dreamcast/dev/g2/aica.c,v
retrieving revision 1.22
diff -u -p -r1.22 aica.c
--- aica.c	23 Nov 2011 23:07:29 -0000	1.22
+++ aica.c	25 Jul 2017 14:16:04 -0000
@@ -774,7 +774,7 @@ int
 aica_get_props(void *addr)
 {
 
-	return 0;
+	return AUDIO_PROP_PLAYBACK;
 }
 
 void


Home | Main Index | Thread Index | Old Index