diff options
Diffstat (limited to 'apps/plugins/zxbox')
| -rw-r--r-- | apps/plugins/zxbox/spsound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/spsound.c b/apps/plugins/zxbox/spsound.c index aae4ad9..6a550e2 100644 --- a/apps/plugins/zxbox/spsound.c +++ b/apps/plugins/zxbox/spsound.c @@ -223,12 +223,12 @@ void write_buf(void){ #if 0 /* can use to save and later analyze what we produce */ - i = rb->open ( "/sound.raw" , O_WRONLY | O_APPEND | O_CREAT ); + i = rb->open ( "/sound.raw" , O_WRONLY | O_APPEND | O_CREAT, 0666); rb->write ( i , sp_sound_buf , TMNUM ); rb->close (i); - i = rb->open ( "/sound2.raw" , O_WRONLY | O_APPEND |O_CREAT); + i = rb->open ( "/sound2.raw" , O_WRONLY | O_APPEND |O_CREAT, 0666); rb->write ( i , (unsigned char *)my_buf , TMNUM*4*3 ); rb->close (i); #endif |