- int is_stereo = (PicoOpt & POPT_EN_STEREO) ? 1 : 0;\r
- int snd_rate_oss = PsndRate;\r
- gp2x_soc_t soc;\r
-\r
- memset(sndBuffer, 0, sizeof(sndBuffer));\r
- PsndOut = sndBuffer;\r
- PicoWriteSound = oss_write_nonblocking;\r
- plat_update_volume(0, 0);\r
-\r
- printf("starting audio: %i len: %i stereo: %i, pal: %i\n",\r
- PsndRate, PsndLen, is_stereo, Pico.m.pal);\r
- sndout_oss_start(snd_rate_oss, is_stereo, 1);\r
- sndout_oss_setvol(currentConfig.volume, currentConfig.volume);\r
-\r