1.10 release

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@23 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-01-24 20:38:23 +00:00
parent 42c7b14797
commit cb0316e4c5
11 changed files with 413 additions and 76 deletions

View file

@ -298,6 +298,11 @@ void gp2x_sound_write(void *buff, int len)
write(sounddev, buff, len);
}
void gp2x_sound_sync(void)
{
ioctl(sounddev, SOUND_PCM_SYNC, 0);
}
void gp2x_sound_volume(int l, int r)
{
l=l<0?0:l; l=l>255?255:l; r=r<0?0:r; r=r>255?255:r;