Home
last modified time | relevance | path

Searched refs:PSoundChannel (Results 1 – 25 of 76) sorted by relevance

1234

/dports/devel/ptlib/ptlib-2.10.11/src/ptlib/common/
H A Dsound.cxx84 PSoundChannel * PSoundChannel::CreateChannelByName(const PString & deviceName, in CreateChannelByName()
95 PSoundChannel * PSoundChannel::CreateOpenedChannel(const PString & driverName, in CreateOpenedChannel()
104 PSoundChannel * sndChan; in CreateOpenedChannel()
173 PSoundChannel::PSoundChannel() in PSoundChannel() function in PSoundChannel
179 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
185 PSoundChannel::PSoundChannel(const PString & device, in PSoundChannel() function in PSoundChannel
241 PBoolean PSoundChannel::Close() in Close()
255 PBoolean PSoundChannel::Abort() in Abort()
540 return Play(PSoundChannel::GetDefaultDevice(PSoundChannel::Player)); in Play()
547 PSoundChannel channel(device, PSoundChannel::Player); in Play()
[all …]
/dports/devel/ptlib/ptlib-2.10.11/src/ptlib/unix/
H A Ddummyaudio.cxx97 PSoundChannel channel(device, in Play()
98 PSoundChannel::Player); in Play()
107 PSoundChannel::PSoundChannel() in PSoundChannel() function in PSoundChannel
113 PSoundChannel::PSoundChannel(const PString & device, in PSoundChannel() function in PSoundChannel
124 void PSoundChannel::Construct() in Construct()
129 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
167 PBoolean PSoundChannel::Close() in Close()
228 PBoolean PSoundChannel::HasPlayCompleted() in HasPlayCompleted()
258 PBoolean PSoundChannel::StartRecording() in StartRecording()
264 PBoolean PSoundChannel::IsRecordBufferFull() in IsRecordBufferFull()
[all …]
H A Dsunaudio.cxx100 PSoundChannel::PSoundChannel() in PSoundChannel() function in PSoundChannel
106 PSoundChannel::PSoundChannel(const PString & device, in PSoundChannel() function in PSoundChannel
117 void PSoundChannel::Construct() in Construct()
122 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
169 PBoolean PSoundChannel::Close() in Close()
276 PBoolean PSoundChannel::HasPlayCompleted() in HasPlayCompleted()
281 PBoolean PSoundChannel::WaitForPlayCompletion() in WaitForPlayCompletion()
302 PBoolean PSoundChannel::StartRecording() in StartRecording()
307 PBoolean PSoundChannel::IsRecordBufferFull() in IsRecordBufferFull()
312 PBoolean PSoundChannel::AreAllRecordBuffersFull() in AreAllRecordBuffersFull()
[all …]
H A Dossaix.cxx80 PMutex PSoundChannel::dictMutex;
147 PSoundChannel channel(PSoundChannel::GetDefaultDevice(PSoundChannel::Player), in Play()
158 PSoundChannel channel(PSoundChannel::GetDefaultDevice(PSoundChannel::Player), in PlayFile()
177 PSoundChannel::PSoundChannel() in PSoundChannel() function in PSoundChannel
183 PSoundChannel::PSoundChannel(const PString & device, in PSoundChannel() function in PSoundChannel
194 void PSoundChannel::Construct() in Construct()
200 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
293 PBoolean PSoundChannel::Setup() in Setup()
360 PBoolean PSoundChannel::Close() in Close()
661 PBoolean PSoundChannel::StartRecording() in StartRecording()
[all …]
H A Dmacosaudio.cxx108 PSoundChannel::PSoundChannel() : in PSoundChannel() function in PSoundChannel
116 PSoundChannel::PSoundChannel(const PString & device, in PSoundChannel() function in PSoundChannel
130 void PSoundChannel::Construct() in Construct()
135 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
159 PBoolean PSoundChannel::Open(const PString & dev, in Open()
346 PBoolean PSoundChannel::Close() in Close()
405 PBoolean PSoundChannel::HasPlayCompleted() in HasPlayCompleted()
413 PBoolean PSoundChannel::WaitForPlayCompletion() in WaitForPlayCompletion()
434 PBoolean PSoundChannel::StartRecording() in StartRecording()
459 PBoolean PSoundChannel::IsRecordBufferFull() in IsRecordBufferFull()
[all …]
H A Dvxaudio.cxx26 PMutex PSoundChannel::dictMutex;
107 PSoundChannel::PSoundChannel() in PSoundChannel() function in PSoundChannel
113 PSoundChannel::PSoundChannel(const PString & device, in PSoundChannel() function in PSoundChannel
124 void PSoundChannel::Construct() in Construct()
130 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
220 PBoolean PSoundChannel::Setup() in Setup()
255 PBoolean PSoundChannel::Close() in Close()
480 PBoolean PSoundChannel::HasPlayCompleted() in HasPlayCompleted()
533 PBoolean PSoundChannel::StartRecording() in StartRecording()
553 PBoolean PSoundChannel::IsRecordBufferFull() in IsRecordBufferFull()
[all …]
H A Dqsa.cxx97 PSoundChannel channel(PSoundChannel::GetDefaultDevice(PSoundChannel::Player), in Play()
98 PSoundChannel::Player); in Play()
108 PSoundChannel channel(PSoundChannel::GetDefaultDevice(PSoundChannel::Player), in PlayFile()
109 PSoundChannel::Player); in PlayFile()
117 PSoundChannel::PSoundChannel() in PSoundChannel() function in PSoundChannel
123 PSoundChannel::PSoundChannel(const PString & device, in PSoundChannel() function in PSoundChannel
134 void PSoundChannel::Construct() in Construct()
140 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
279 PBoolean PSoundChannel::Setup() in Setup()
382 PBoolean PSoundChannel::Close() in Close()
[all …]
/dports/devel/ptlib/ptlib-2.10.11/src/ptlib/Nucleus++/
H A DNucleusSoundBite.cxx11 PSoundChannel::PSoundChannel() in PSoundChannel() function in PSoundChannel
17 void PSoundChannel::Construct() in Construct()
21 PSoundChannel::~PSoundChannel() in ~PSoundChannel()
32 PString PSoundChannel::GetDefaultDevice(Directions dir) in GetDefaultDevice()
45 PString PSoundChannel::GetName() const in GetName()
58 PBoolean PSoundChannel::Open(const PString & device, in Open()
79 PBoolean PSoundChannel::Read(void *buf, PINDEX len) in Read()
131 PBoolean PSoundChannel::Close() in Close()
141 PBoolean PSoundChannel::Abort() in Abort()
158 PBoolean PSoundChannel::SetVolume(int newVal) in SetVolume()
[all …]
/dports/net/opal/opal-3.10.10/src/opal/
H A Dpcss.cxx86 soundChannelPlayDevice(PSoundChannel::GetDefaultDevice(PSoundChannel::Player)), in OpalPCSSEndPoint()
87 soundChannelRecordDevice(PSoundChannel::GetDefaultDevice(PSoundChannel::Recorder)) in OpalPCSSEndPoint()
100 << "Players:\n" << PSoundChannel::GetDeviceNames(PSoundChannel::Player) in OpalPCSSEndPoint()
101 << "Recorders:\n" << PSoundChannel::GetDeviceNames(PSoundChannel::Recorder)); in OpalPCSSEndPoint()
117 PSoundChannel * channel = PSoundChannel::CreateChannelByName(name, dir); in SetDeviceName()
257 PSoundChannel::Directions dir; in CreateSoundChannel()
267 PSoundChannel * soundChannel = PSoundChannel::CreateChannelByName(deviceName, dir); in CreateSoundChannel()
444 PSoundChannel * channel = dynamic_cast<PSoundChannel *>(stream->GetChannel()); in SetAudioVolume()
458 PSoundChannel * channel = dynamic_cast<PSoundChannel *>(stream->GetChannel()); in GetAudioVolume()
472 PSoundChannel * channel = dynamic_cast<PSoundChannel *>(stream->GetChannel()); in SetAudioMute()
[all …]
/dports/devel/ptlib/ptlib-2.10.11/samples/audio/
H A Daudio.cxx92 PSoundChannel::Directions dir; in PCREATE_PROCESS()
94 namesPlay = PSoundChannel::GetDeviceNames(PSoundChannel::Player); in PCREATE_PROCESS()
95 namesRecord = PSoundChannel::GetDeviceNames(PSoundChannel::Recorder); in PCREATE_PROCESS()
102 << PSoundChannel::GetDefaultDevice(PSoundChannel::Player) << "\"\n"; in PCREATE_PROCESS()
108 << PSoundChannel::GetDefaultDevice(PSoundChannel::Recorder) << "\"\n\n"; in PCREATE_PROCESS()
113 PSoundChannel sound; in PCREATE_PROCESS()
114 dir = PSoundChannel::Player; in PCREATE_PROCESS()
131 PSoundChannel sound; in PCREATE_PROCESS()
151 devName = PSoundChannel::GetDefaultDevice(PSoundChannel::Player); in PCREATE_PROCESS()
187 PSoundChannel sound; in PCREATE_PROCESS()
[all …]
/dports/devel/ptlib/ptlib-2.10.11/include/ptlib/
H A Dsound.h251 class PSoundChannel : public PChannel
253 PCLASSINFO(PSoundChannel, PChannel);
265 PSoundChannel();
270 PSoundChannel(
279 virtual ~PSoundChannel();
310 static PSoundChannel * CreateChannel (
322 static PSoundChannel * CreateChannelByName(
333 static PSoundChannel * CreateOpenedChannel(
769 PSoundChannel * m_baseChannel;
798 PPLUGIN_STATIC_LOAD(BeOS, PSoundChannel);
[all …]
/dports/devel/ptlib/ptlib-2.10.11/samples/plugintest/
H A Dmain.cxx141 DisplayPluginTypes<PSoundChannel>("PSoundChannel"); in Main()
149 …cout << "Sound plugin names = " << setfill(',') << PSoundChannel::GetDriverNames() << setfill(' ')… in Main()
154 …cout << "Default sound device is \"" << PSoundChannel::GetDefaultDevice(PSoundChannel::Player) << … in Main()
170 …driverList = PStringList::container<std::vector<std::string> >(PFactory<PSoundChannel>::GetKeyList… in Main()
172 driverList = PSoundChannel::GetDriverNames(); in Main()
187 PStringList deviceList = PSoundChannel::GetDeviceNames(driver, PSoundChannel::Player); in Main()
208 PSoundChannel * snd = PSoundChannel::CreateChannel(driver); in Main()
216 if (!snd->Open(device, PSoundChannel::Player)) { in Main()
/dports/devel/ptlib/ptlib-2.10.11/plugins/sound_alsa/
H A Dsound_alsa.h8 class PSoundChannelALSA : public PSoundChannel {
14 PSoundChannel::Directions dir,
20 static PStringArray GetDeviceNames(PSoundChannel::Directions);
21 static PString GetDefaultDevice(PSoundChannel::Directions);
56 static void UpdateDictionary(PSoundChannel::Directions);
60 PSoundChannel::Directions direction;
/dports/devel/ptlib/ptlib-2.10.11/plugins/sound_shm/
H A Dsound_shm.h46 class PSoundChannelSHM : public PSoundChannel {
51 PSoundChannel::Directions dir,
56 static PStringArray GetDeviceNames(PSoundChannel::Directions);
57 static PString GetDefaultDevice(PSoundChannel::Directions);
94 static void UpdateDictionary(PSoundChannel::Directions);
96 PSoundChannel::Directions direction;
/dports/devel/ptlib/ptlib-2.10.11/include/ptclib/
H A Dpwavfiledev.h55 class PSoundChannel_WAVFile : public PSoundChannel
57 PCLASSINFO(PSoundChannel_WAVFile, PSoundChannel);
61 PSoundChannel::Directions dir,
66 static PStringArray GetDeviceNames(PSoundChannel::Directions = Player);
/dports/devel/ptlib/ptlib-2.10.11/samples/wavfile/
H A Dmain.cxx144 PSoundChannel * sound = PSoundChannel::CreateOpenedChannel(args.GetOptionString('D'), in Play()
146 PSoundChannel::Player, in Play()
189 PSoundChannel * sound = PSoundChannel::CreateOpenedChannel(args.GetOptionString('D'), in Record()
191 PSoundChannel::Recorder, in Record()
/dports/devel/ptlib/ptlib-2.10.11/plugins/sound_esd/
H A Dsound_esd.h26 class PSoundChannelESD: public PSoundChannel
32 PSoundChannel::Directions dir,
37 static PStringArray GetDeviceNames(PSoundChannel::Directions = Player);
38 static PString GetDefaultDevice(PSoundChannel::Directions);
/dports/devel/ptlib/ptlib-2.10.11/plugins/sound_sunaudio/
H A Dsound_sunaudio.h11 class PSoundChannelSunAudio: public PSoundChannel
17 PSoundChannel::Directions dir,
22 static PStringArray GetDeviceNames(PSoundChannel::Directions = Player);
23 static PString GetDefaultDevice(PSoundChannel::Directions);
/dports/devel/ptlib/ptlib-2.10.11/plugins/sound_oss/
H A Dsound_oss.h48 class PSoundChannelOSS: public PSoundChannel
54 PSoundChannel::Directions dir,
59 static PStringArray GetDeviceNames(PSoundChannel::Directions = Player);
60 static PString GetDefaultDevice(PSoundChannel::Directions);
/dports/devel/ptlib/ptlib-2.10.11/plugins/sound_pulse/
H A Dsound_pulse.h32 class PSoundChannelPulse: public PSoundChannel
38 PSoundChannel::Directions dir,
43 static PStringArray GetDeviceNames(PSoundChannel::Directions = Player);
44 static PString GetDefaultDevice(PSoundChannel::Directions);
/dports/devel/ptlib/ptlib-2.10.11/include/ptlib/unix/ptlib/
H A Dbeaudio.h79 class PSoundChannelBeOS: public PSoundChannel
85 PSoundChannel::Directions dir,
90 static PStringArray GetDeviceNames(PSoundChannel::Directions = Player);
91 static PString GetDefaultDevice(PSoundChannel::Directions);
H A Dmaccoreaudio.h51 class PSoundChannelCoreAudio : public PSoundChannel
67 PSoundChannel::Directions dir,
98 PSoundChannel *CreateOpenedChannel(const PString & driverName,
100 const PSoundChannel::Directions,
/dports/devel/ptlib/ptlib-2.10.11/samples/vxmltest/
H A Dmain.cxx110 PString device = PSoundChannel::GetDefaultDevice(PSoundChannel::Player); in Main()
111 PSoundChannel player; in Main()
112 if (!player.Open(device, PSoundChannel::Player)) { in Main()
/dports/devel/ptlib/ptlib-2.10.11/src/ptclib/
H A Dpwavfiledev.cxx51 return PSoundChannel_WAVFile::GetDeviceNames((PSoundChannel::Directions)userData); in GetDeviceNames()
60 if (userData == PSoundChannel::Recorder && pathname[last] == '*') in ValidateDeviceName()
66 if (userData == PSoundChannel::Recorder) in ValidateDeviceName()
76 PCREATE_PLUGIN(WAVFile, PSoundChannel, &PSoundChannel_WAVFile_descriptor);
132 if (dir == PSoundChannel::Player) { in Open()
/dports/net/opal/opal-3.10.10/src/Python/opal/
H A DOpalPCSSConnection.sip139 /**Create an PSoundChannel based media stream.
141 virtual PSoundChannel * CreateSoundChannel(
198 If the name is not suitable for use with the PSoundChannel class then
201 This defaults to the value of the PSoundChannel::GetDefaultDevice()
207 This defaults to the value of the PSoundChannel::GetDefaultDevice()
216 This defaults to the value of the PSoundChannel::GetDefaultDevice()
222 This defaults to the value of the PSoundChannel::GetDefaultDevice()
313 /**Create an PSoundChannel based media stream.
315 virtual PSoundChannel * CreateSoundChannel(
324 This defaults to the value of the PSoundChannel::GetDefaultDevice()
[all …]

1234