Fixed CID 1303. The config message was dereferenced in the constructor list.

I don't know if it can be NULL at all, but let's be defensive. It was
already checked later anyways.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27454 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-09-12 16:29:52 +00:00
parent f1ca556caf
commit 67710adc92
2 changed files with 166 additions and 165 deletions

View File

@ -105,7 +105,6 @@ status_t OpenSoundDeviceEngine::Open(int mode)
// C-Media supports "only" 16). If OSS uses the same 2048 bytes even for
// 32 bit/sample, then I could see how that would be asking for too much,
// since that would effectively half the latency.
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
uint32 bufferCount = 6;
uint32 bufferSize = 0x000b; // 1024 bytes

File diff suppressed because it is too large Load Diff