equal
deleted
inserted
replaced
17 #ifndef __SYBORGSHARED_SOUND_H__ |
17 #ifndef __SYBORGSHARED_SOUND_H__ |
18 #define __SYBORGSHARED_SOUND_H__ |
18 #define __SYBORGSHARED_SOUND_H__ |
19 |
19 |
20 #include <soundsc.h> |
20 #include <soundsc.h> |
21 |
21 |
22 #ifdef _ENABLE_SYBORG_AUDIO_DRIVER_DEBUG |
22 #ifndef DISABLE_SYBORG_SOUND_DEBUG |
23 #define SYBORG_SOUND_DEBUG(x...) Kern::Printf(x) |
23 #define SYBORG_SOUND_DEBUG(x...) __KTRACE_OPT(KSOUND1, Kern::Printf(x)) |
24 #else |
24 #else |
25 #define SYBORG_SOUND_DEBUG(x...) |
25 #define SYBORG_SOUND_DEBUG(x...) |
26 #endif |
26 #endif |
27 |
27 |
28 #undef ASSERT |
28 #undef ASSERT |
31 #include "virtio_audio.h" |
31 #include "virtio_audio.h" |
32 #include "virtio.h" |
32 #include "virtio.h" |
33 #include "virtio_audio_defs.h" |
33 #include "virtio_audio_defs.h" |
34 |
34 |
35 /// @brief defines the maximum size for a single audio data transfer |
35 /// @brief defines the maximum size for a single audio data transfer |
36 static const TInt KMaxTransferLength = 128 * 1024; |
36 static const TInt KMaxTransferLength = 256 * 1024; |
37 |
37 |
38 namespace VirtIo |
38 namespace VirtIo |
39 { |
39 { |
40 class DIoHandler; |
40 class DIoHandler; |
41 } |
41 } |