2 * Copyright (c) 2002-2004 Matthijs Hollemans
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
27 //------------------------------------------------------------------------------
35 //------------------------------------------------------------------------------
42 //------------------------------------------------------------------------------
45 void* sampleData
, int32 frames
, int16 bytes_per_sample
,
46 int16 channel_count
, double pitch
, int32 loopStart
, int32 loopEnd
,
47 double sampleVolume
, double stereoPosition
, int32 hook_arg
,
48 sample_loop_hook pLoopContinueProc
, sample_exit_hook pDoneProc
)
50 fprintf(stderr
, "[midi] BSamples is not supported\n");
53 //------------------------------------------------------------------------------
55 bool BSamples::IsPaused(void) const
57 fprintf(stderr
, "[midi] BSamples is not supported\n");
61 //------------------------------------------------------------------------------
63 void BSamples::Pause(void)
65 fprintf(stderr
, "[midi] BSamples is not supported\n");
68 //------------------------------------------------------------------------------
70 void BSamples::Resume(void)
72 fprintf(stderr
, "[midi] BSamples is not supported\n");
75 //------------------------------------------------------------------------------
77 void BSamples::Stop(void)
79 fprintf(stderr
, "[midi] BSamples is not supported\n");
82 //------------------------------------------------------------------------------
84 bool BSamples::IsPlaying(void) const
86 fprintf(stderr
, "[midi] BSamples is not supported\n");
90 //------------------------------------------------------------------------------
92 void BSamples::SetVolume(double newVolume
)
94 fprintf(stderr
, "[midi] BSamples is not supported\n");
97 //------------------------------------------------------------------------------
99 double BSamples::Volume(void) const
101 fprintf(stderr
, "[midi] BSamples is not supported\n");
105 //------------------------------------------------------------------------------
107 void BSamples::SetSamplingRate(double newRate
)
109 fprintf(stderr
, "[midi] BSamples is not supported\n");
112 //------------------------------------------------------------------------------
114 double BSamples::SamplingRate(void) const
116 fprintf(stderr
, "[midi] BSamples is not supported\n");
120 //------------------------------------------------------------------------------
122 void BSamples::SetPlacement(double stereoPosition
)
124 fprintf(stderr
, "[midi] BSamples is not supported\n");
127 //------------------------------------------------------------------------------
129 double BSamples::Placement(void) const
131 fprintf(stderr
, "[midi] BSamples is not supported\n");
135 //------------------------------------------------------------------------------
137 void BSamples::EnableReverb(bool useReverb
)
139 fprintf(stderr
, "[midi] BSamples is not supported\n");
142 //------------------------------------------------------------------------------
144 void BSamples::_ReservedSamples1() { }
145 void BSamples::_ReservedSamples2() { }
146 void BSamples::_ReservedSamples3() { }
148 //------------------------------------------------------------------------------