comparison beosaudio.cpp @ 30:90fd30dd68b3 libavformat

grab device is in AVFormatParameter (at least better than global variable)
author bellard
date Thu, 23 Jan 2003 10:33:16 +0000
parents 05318cf2e886
children ad9bcf041e8e
comparison
equal deleted inserted replaced
29:86a085c19c7f 30:90fd30dd68b3
31 #include "avformat.h" 31 #include "avformat.h"
32 } 32 }
33 33
34 /* enable performance checks */ 34 /* enable performance checks */
35 //#define PERF_CHECK 35 //#define PERF_CHECK
36
37 //const char *audio_device = "/dev/dsp";
38 const char *audio_device = "beosaudio:";
39 36
40 /* Pipes are 4k in BeOS IIRC */ 37 /* Pipes are 4k in BeOS IIRC */
41 #define AUDIO_BLOCK_SIZE 4096 38 #define AUDIO_BLOCK_SIZE 4096
42 //#define AUDIO_BLOCK_SIZE 2048 39 //#define AUDIO_BLOCK_SIZE 2048
43 #define AUDIO_BLOCK_COUNT 8 40 #define AUDIO_BLOCK_COUNT 8