MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / writeNative

Method writeNative

source/kernel/devs/devdsp.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64U32 DevDsp::writeNative(U8* buffer, U32 len) {
65 if (!this->audio->isOpen()) {
66 this->audio->openAudio(this->format, this->freq, this->channels);
67 }
68 return this->audio->writeAudio(buffer, len);
69}
70
71U32 DevDsp::ioctl(KThread* thread, U32 request) {
72 U32 len = (request >> 16) & 0x3FFF;

Callers

nothing calls this directly

Calls 3

openAudioMethod · 0.80
writeAudioMethod · 0.80
isOpenMethod · 0.45

Tested by

no test coverage detected