File: sound_driver.cpp

package info (click to toggle)
zytrax 0%2Bgit20201215-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,488 kB
  • sloc: cpp: 41,800; ansic: 3,387; makefile: 8; sh: 3
file content (25 lines) | stat: -rw-r--r-- 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// C++ Implementation: sound_driver
//
// Description:
//
//
// Author: Juan Linietsky <reduzio@gmail.com>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "sound_driver.h"
#include "sound_driver_manager.h"

void SoundDriver::mix(AudioFrame *p_buffer, int p_frames) {
	if (SoundDriverManager::mix_callback) {
		SoundDriverManager::mix_callback(p_buffer, p_frames);
	}
}

SoundDriver::SoundDriver() {
}

SoundDriver::~SoundDriver() {
}