correct spelling error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28378 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -181,7 +181,7 @@ BSimpleGameSound::Init(const entry_ref* inFile)
|
|||||||
delete [] buffer;
|
delete [] buffer;
|
||||||
delete [] data;
|
delete [] data;
|
||||||
} else {
|
} else {
|
||||||
// We need to detriman the size, in bytes, of a single sample.
|
// We need to determine the size, in bytes, of a single sample.
|
||||||
// At the same time, we will store the format of the audio buffer
|
// At the same time, we will store the format of the audio buffer
|
||||||
size_t frameSize = get_sample_size(gsformat.format) * gsformat.channel_count;
|
size_t frameSize = get_sample_size(gsformat.format) * gsformat.channel_count;
|
||||||
char * data = new char[frames * frameSize];
|
char * data = new char[frames * frameSize];
|
||||||
|
|||||||
Reference in New Issue
Block a user