Panda3D
 All Classes Functions Variables Enumerations
microphoneAudio.I
1 // Filename: microphoneAudio.I
2 // Created by: jyelon (02Jul07)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 ////////////////////////////////////////////////////////////////////
16 // Function: MicrophoneAudio::get_channels
17 // Access: Published
18 // Description: Returns the number of channels.
19 ////////////////////////////////////////////////////////////////////
20 INLINE int MicrophoneAudio::
21 get_channels() const {
22  return _channels;
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function: MicrophoneAudio::get_rate
27 // Access: Published
28 // Description: Returns the sample rate.
29 ////////////////////////////////////////////////////////////////////
30 INLINE int MicrophoneAudio::
31 get_rate() const {
32  return _rate;
33 }
34 
int get_channels() const
Returns the number of channels.
int get_rate() const
Returns the sample rate.