summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sdl/pcm-sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/hosted/sdl/pcm-sdl.c')
-rw-r--r--firmware/target/hosted/sdl/pcm-sdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/sdl/pcm-sdl.c b/firmware/target/hosted/sdl/pcm-sdl.c
index 9cb35beb48..877ca5a482 100644
--- a/firmware/target/hosted/sdl/pcm-sdl.c
+++ b/firmware/target/hosted/sdl/pcm-sdl.c
@@ -141,7 +141,7 @@ static void write_to_soundcard(struct pcm_udata *udata)
{
#ifdef DEBUG
if (debug_audio && (udata->debug == NULL)) {
- udata->debug = fopen("audiodebug.raw", "ab");
+ udata->debug = fopen("audiodebug.raw", "abe");
DEBUGF("Audio debug file open\n");
}
#endif
@@ -364,7 +364,7 @@ void pcm_play_dma_init(void)
#ifdef DEBUG
udata.debug = NULL;
if (debug_audio) {
- udata.debug = fopen("audiodebug.raw", "wb");
+ udata.debug = fopen("audiodebug.raw", "wbe");
DEBUGF("Audio debug file open\n");
}
#endif