File:  [Isaki's NoNo m68k/m88k emulator] / nono / host / sounddriver.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:56 2026 UTC (3 months ago) by root
Branches: MAIN, Isaki
CVS tags: v027, v026, HEAD
nono 1.6.0

//
// nono
// Copyright (C) 2025 nono project
// Licensed under nono-license.txt
//

//
// ホストサウンドのドライバ(基本クラス)
//

#pragma once

#include "driver.h"

class SoundDriver : public Driver
{
	using inherited = Driver;

 protected:
	SoundDriver(HostDevice *hostdev_, const char *drivername_);
 public:
	~SoundDriver() override;

	bool InitDriver(bool startup = true) override;

	// ブロックをホストに出力する。
	virtual void Write(const int16 *blk) = 0;

 protected:
	uint freq {};
	uint32 blkbytes {};
};

unix.superglobalmegacorp.com

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