Annotation of nono/host/sounddriver.h, revision 1.1

1.1     ! root        1: //
        !             2: // nono
        !             3: // Copyright (C) 2025 nono project
        !             4: // Licensed under nono-license.txt
        !             5: //
        !             6: 
        !             7: //
        !             8: // ホストサウンドのドライバ(基本クラス)
        !             9: //
        !            10: 
        !            11: #pragma once
        !            12: 
        !            13: #include "driver.h"
        !            14: 
        !            15: class SoundDriver : public Driver
        !            16: {
        !            17:        using inherited = Driver;
        !            18: 
        !            19:  protected:
        !            20:        SoundDriver(HostDevice *hostdev_, const char *drivername_);
        !            21:  public:
        !            22:        ~SoundDriver() override;
        !            23: 
        !            24:        bool InitDriver(bool startup = true) override;
        !            25: 
        !            26:        // ブロックをホストに出力する。
        !            27:        virtual void Write(const int16 *blk) = 0;
        !            28: 
        !            29:  protected:
        !            30:        uint freq {};
        !            31:        uint32 blkbytes {};
        !            32: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.