/dports/devel/sdl2pp/libSDL2pp-0.16.1/SDL2pp/ |
H A D | Mixer.cc | 29 Mixer::Mixer(int frequency, Uint16 format, int channels, int chunksize) : open_(true) { in Mixer() function in SDL2pp::Mixer 34 Mixer::~Mixer() { in ~Mixer() 39 Mixer::Mixer(Mixer&& other) noexcept : open_(other.open_), current_music_hook_(std::move(other.curr… in Mixer() function in SDL2pp::Mixer 43 Mixer& Mixer::operator=(Mixer&& other) noexcept { in operator =() 58 int Mixer::GetNumChannels() const { in GetNumChannels() 172 void Mixer::HaltGroup(int tag) { in HaltGroup() 194 void Mixer::PauseMusic() { in PauseMusic() 198 void Mixer::ResumeMusic() { in ResumeMusic() 202 void Mixer::RewindMusic() { in RewindMusic() 211 void Mixer::HaltMusic() { in HaltMusic() [all …]
|
/dports/devel/p5-SDL/SDL-2.548/t/ |
H A D | mixer_groups.t | 30 use SDL::Mixer; 31 use SDL::Mixer::Channels; 32 use SDL::Mixer::Groups; 33 use SDL::Mixer::Samples; 55 SDL::Mixer::Channels::volume( -1, 10 ); 62 SDL::Mixer::Channels::volume( -1, 10 ); 73 SDL::Mixer::Channels::halt_channel(-1); 99 is( SDL::Mixer::Groups::group_oldest(1), 108 is( SDL::Mixer::Groups::group_oldest(1), 111 is( SDL::Mixer::Groups::group_newer(1), [all …]
|
H A D | mixer_music.t | 32 use SDL::Mixer; 33 use SDL::Mixer::Music; 34 use SDL::Mixer::Samples; 38 my $v = SDL::Mixer::linked_version(); 101 SDL::Mixer::Music::hook_music(); 157 is( SDL::Mixer::Music::fading_music(), 165 is( SDL::Mixer::Music::fading_music(), 175 is( SDL::Mixer::Music::set_music_cmd(), 184 is( SDL::Mixer::Music::fading_music(), 199 SDL::Mixer::Music::halt_music(); [all …]
|
H A D | mixer_channels.t | 33 use SDL::Mixer; 34 use SDL::Mixer::Channels; 35 use SDL::Mixer::Samples; 36 use SDL::Mixer::MixChunk; 72 SDL::Mixer::Channels::volume( -1, 10 ); 73 is( SDL::Mixer::Channels::volume( -1, 20 ), 79 SDL::Mixer::Channels::volume( -1, 10 ); 80 is( SDL::Mixer::Channels::volume( -1, 1 ), 127 SDL::Mixer::Channels::pause(-1); 137 SDL::Mixer::Channels::resume(-1); [all …]
|
H A D | mixer_effects.t | 32 use SDL::Mixer; 33 use SDL::Mixer::Channels; 34 use SDL::Mixer::Effects; 35 use SDL::Mixer::Samples; 50 SDL::Mixer::Channels::volume( -1, 1 ); 53 SDL::Mixer::Channels::volume( -1, 20 ); 125 my $effect_id = SDL::Mixer::Effects::register( 148 $effect_id = SDL::Mixer::Effects::register( 175 SDL::Mixer::Effects::unregister_all(MIX_CHANNEL_POST), 191 is( SDL::Mixer::Effects::set_post_mix(), [all …]
|
H A D | mixer_samples.t | 35 use SDL::Mixer; 36 use SDL::Mixer::MixChunk; 37 use SDL::Mixer::Samples; 38 use SDL::Mixer::Channels; 60 }my $version = SDL::Mixer::linked_version(); 70 is( SDL::Mixer::Samples::get_num_chunk_decoders() >= 0, 73 my $stream = SDL::Mixer::Samples::get_chunk_decoder(0); 77 my $sample_chunk = SDL::Mixer::Samples::load_WAV('test/data/sample.wav'); 80 is( SDL::Mixer::Samples::volume_chunk( $sample_chunk, 120 ), 83 is( SDL::Mixer::Samples::volume_chunk( $sample_chunk, 10 ), [all …]
|
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/ |
H A D | AudioMixer.h | 34 typedef struct Mixer Mixer; typedef 67 Mixer* mixerCreate(); 68 void mixerDestroy(Mixer* mixer); 70 Mixer* mixerGetGlobalMixer(); 75 void mixerSetStereo(Mixer* mixer, Int32 stereo); 76 UInt32 mixerGetSampleRate(Mixer* mixer); 90 int mixerIsLogging(Mixer* mixer); 91 void mixerStopLog(Mixer* mixer); 94 void mixerReset(Mixer* mixer); 95 void mixerSync(Mixer* mixer); [all …]
|
/dports/audio/kmix/kmix-21.12.3/core/ |
H A D | mixer.cpp | 38 QList<Mixer *> Mixer::s_mixers; 58 /* static */ QList<Mixer *> &Mixer::mixers() in mixers() 86 Mixer::Mixer(const QString &ref_driverName, int device) in Mixer() function in Mixer 111 Mixer::~Mixer() in ~Mixer() 122 /* static */ Mixer *Mixer::findMixer(const QString &mixer_id) in findMixer() 147 void Mixer::recreateId() in recreateId() 283 void Mixer::close() in close() 410 /* static */ Mixer *Mixer::getGlobalMasterMixerNoFalback() in getGlobalMasterMixerNoFalback() 420 /* static */ Mixer* Mixer::getGlobalMasterMixer() in getGlobalMasterMixer() 442 Mixer* mm = Mixer::getGlobalMasterMixerNoFalback(); in getGlobalMasterPreferred() [all …]
|
H A D | mixertoolbox.cpp | 78 const int drvNum = Mixer::numDrivers(); in initMixerInternal() 142 Mixer *mixer = new Mixer( driverName, dev ); in initMixerInternal() 232 if ( Mixer::mixers().count() > 0 ) { in initMixerInternal() 236 Mixer::setGlobalMaster( Mixer::mixers().first()->id(), controlId, true); in initMixerInternal() 248 if (Mixer::mixers().count()==0) in initMixerInternal() 296 bool possiblyAddMixer(Mixer *mixer) in possiblyAddMixer() 330 void removeMixer(Mixer *par_mixer) in removeMixer() 333 Mixer *mixer = (Mixer::mixers())[i]; in removeMixer() 336 Mixer::mixers().removeAt(i); in removeMixer() 353 Mixer* mixer = (Mixer::mixers())[i]; in deinitMixer() [all …]
|
/dports/devel/p5-SDL/SDL-2.548/lib/pods/SDL/Mixer/ |
H A D | Music.pod | 6 SDL::Mixer::Music - functions for music 10 Mixer 16 my $music = SDL::Mixer::Music::load_MUS( $file ); 29 use SDL::Mixer; 30 use SDL::Mixer::Music; 82 L<SDL::Mixer::Music::fade_in_music|SDL::Mixer::Music/"fade_in_music"> stops naturally. 183 SDL::Mixer::Music::halt_music(); 189 SDL::Mixer::Music::pause_music(); 195 SDL::Mixer::Music::resume_music(); 201 SDL::Mixer::Music::rewind_music(); [all …]
|
H A D | Effects.pod | 6 SDL::Mixer::Effects - sound effect functions 10 Mixer 33 use SDL::Mixer; 34 use SDL::Mixer::Channels; 35 use SDL::Mixer::Effects; 36 use SDL::Mixer::Samples; 81 SDL::Mixer::close_audio(); 90 L<SDL::Mixer::Effects::register|SDL::Mixer::Effects/"register">. 126 L<SDL::Mixer::Effects::unregister_all|SDL::Mixer::Effects/"unregister_all"> on the channel. 137 L<SDL::Mixer::Effects::unregister_all|SDL::Mixer::Effects/"unregister_all"> on the channel. [all …]
|
H A D | Groups.pod | 6 SDL::Mixer::Groups - Audio channel group functions 10 Mixer 16 my $reserved = SDL::Mixer::Groups::reserve_channels( $num ); 30 L<SDL::Mixer::Channels::play_channel|SDL::Mixer::Channels/"play_channel"> 34 L<SDL::Mixer::Channels::play_channel_timed|SDL::Mixer::Channels/"play_channel_timed"> 38 L<SDL::Mixer::Channels::fade_in_channel|SDL::Mixer::Channels/"fade_in_channel"> 42 L<SDL::Mixer::Channels::fade_in_channel_timed|SDL::Mixer::Channels/"fade_in_channel_timed"> 47 previously allocated (see L<SDL::Mixer::Channels::allocate_channels|SDL::Mixer::Channels/"allocate_… 67 my $channel = SDL::Mixer::Groups::group_count( $group ); 91 SDL::Mixer::Groups::fade_out_group( $group, $ms ); [all …]
|
H A D | Channels.pod | 6 SDL::Mixer::Channels -- SDL::Mixer channel functions and bindings 10 Mixer 25 use SDL::Mixer::Channels; 52 use SDL::Mixer; 53 use SDL::Mixer::Channels; 54 use SDL::Mixer::Samples; 61 SDL::Mixer::Channels::play_channel( -1, $chunk, -1 ); 64 SDL::Mixer::close_audio(); 86 SDL::Mixer::Channels::pause( $channel ); 92 SDL::Mixer::Channels::resume( $channel ); [all …]
|
/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/ |
H A D | mixer.bindings | 1 <Bindings name="Mixer"> 3 <Binding key="d" action="Mixer/toggle-disk-monitor" group="Operations on the selected strip(s)"/> 4 … <Binding key="i" action="Mixer/toggle-input-monitor" group="Operations on the selected strip(s)"/> 5 <Binding key="m" action="Mixer/mute" group="Operations on the selected strip(s)"/> 7 <Binding key="r" action="Mixer/recenable" group="Operations on the selected strip(s)"/> 8 <Binding key="0" action="Mixer/unity-gain" group="Operations on the selected strip(s)"/> 9 <Binding key="Up" action="Mixer/increment-gain" group="Operations on the selected strip(s)"/> 11 <Binding key="Left" action="Mixer/scroll-left" group="Navigation operations"/> 12 <Binding key="Right" action="Mixer/scroll-right" group="Navigation operations"/> 26 <Binding key="Tertiary-l" action="Mixer/ToggleMixerList" group="Window Visibility"/> [all …]
|
/dports/audio/libsidplayfp/libsidplayfp-2.3.1/src/ |
H A D | mixer.cpp | 64 void Mixer::clockChips() in clockChips() 69 void Mixer::resetBufs() in resetBufs() 74 void Mixer::doMix() in doMix() 139 void Mixer::updateParams() in updateParams() 144 m_mix[0] = m_stereo ? &Mixer::stereo_OneChip : &Mixer::mono<1>; in updateParams() 148 m_mix[0] = m_stereo ? &Mixer::stereo_ch1_TwoChips : &Mixer::mono<2>; in updateParams() 152 m_mix[0] = m_stereo ? &Mixer::stereo_ch1_ThreeChips : &Mixer::mono<3>; in updateParams() 158 void Mixer::clearSids() in clearSids() 164 void Mixer::addSid(sidemu *chip) in addSid() 178 void Mixer::setStereo(bool stereo) in setStereo() [all …]
|
/dports/audio/ocp/ocp-0.2.90/playsid/libsidplayfp-git/src/ |
H A D | mixer.cpp | 64 void Mixer::clockChips() in Counted() 69 void Mixer::resetBufs() in Counted() 74 void Mixer::doMix() in Counted() 158 void Mixer::updateParams() in Counted() 163 m_mix[0] = m_stereo ? &Mixer::stereo_OneChip : &Mixer::mono<1>; in Counted() 167 m_mix[0] = m_stereo ? &Mixer::stereo_ch1_TwoChips : &Mixer::mono<2>; in Counted() 171 m_mix[0] = m_stereo ? &Mixer::stereo_ch1_ThreeChips : &Mixer::mono<3>; in Counted() 177 void Mixer::clearSids() in Counted() 183 void Mixer::addSid(sidemu *chip) in Counted() 197 void Mixer::setStereo(bool stereo) in Counted() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/drascula/ |
H A D | sound.cpp | 53 _mixer->muteSoundType(Audio::Mixer::kPlainSoundType, mute); in syncSoundSettings() 54 _mixer->muteSoundType(Audio::Mixer::kSFXSoundType, mute); in syncSoundSettings() 55 _mixer->muteSoundType(Audio::Mixer::kSpeechSoundType, speechMute); in syncSoundSettings() 56 _mixer->muteSoundType(Audio::Mixer::kMusicSoundType, mute); in syncSoundSettings() 63 …xer->getVolumeForSoundType(Audio::Mixer::kSpeechSoundType) != voiceVolume || _mixer->getVolumeForS… in syncSoundSettings() 65 _mixer->setVolumeForSoundType(Audio::Mixer::kPlainSoundType, masterVolume); in syncSoundSettings() 66 _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, voiceVolume); in syncSoundSettings() 68 _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, musicVolume); in syncSoundSettings() 206 int vol = _mixer->getVolumeForSoundType(Audio::Mixer::kMusicSoundType); in MusicFadeout() 210 _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, vol); in MusicFadeout() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/drascula/ |
H A D | sound.cpp | 53 _mixer->muteSoundType(Audio::Mixer::kPlainSoundType, mute); in syncSoundSettings() 54 _mixer->muteSoundType(Audio::Mixer::kSFXSoundType, mute); in syncSoundSettings() 55 _mixer->muteSoundType(Audio::Mixer::kSpeechSoundType, speechMute); in syncSoundSettings() 56 _mixer->muteSoundType(Audio::Mixer::kMusicSoundType, mute); in syncSoundSettings() 63 …xer->getVolumeForSoundType(Audio::Mixer::kSpeechSoundType) != voiceVolume || _mixer->getVolumeForS… in syncSoundSettings() 65 _mixer->setVolumeForSoundType(Audio::Mixer::kPlainSoundType, masterVolume); in syncSoundSettings() 66 _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, voiceVolume); in syncSoundSettings() 68 _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, musicVolume); in syncSoundSettings() 206 int vol = _mixer->getVolumeForSoundType(Audio::Mixer::kMusicSoundType); in MusicFadeout() 210 _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, vol); in MusicFadeout() [all …]
|
/dports/games/alienblaster/alienblaster/src/ |
H A D | mixer.cc | 28 Mixer mixer; 30 Mixer::Mixer() { in Mixer() function in Mixer 44 Mixer::~Mixer() { in ~Mixer() 50 void Mixer::initMixer() { in initMixer() 64 void Mixer::freeMixer() { in freeMixer() 115 bool Mixer::stopSample(int sampleId) { in stopSample() 122 void Mixer::reset() { in reset() 129 void Mixer::fadeOut(int mSecs) { in fadeOut() 136 int Mixer::loadMusic( string fn ) { in loadMusic() 164 void Mixer::stopMusic( int fadeOutTime ) { in stopMusic() [all …]
|
/dports/audio/kmix/kmix-21.12.3/apps/ |
H A D | kmixd.cpp | 103 const Mixer *mixerMasterCard = Mixer::getGlobalMasterMixer(); in saveBaseConfig() 105 shared_ptr<MixDevice> mdMaster = Mixer::getGlobalMasterMD(); in saveBaseConfig() 121 Mixer::setGlobalMaster(mixerMasterCard, masterDev, true); in loadBaseConfig() 134 Mixer *mixer = new Mixer(QString::fromLocal8Bit(driverName), dev); in plugged() 148 for (int i=0; i<Mixer::mixers().count(); ++i) { in unplugged() 149 Mixer *mixer = (Mixer::mixers())[i]; in unplugged() 158 shared_ptr<MixDevice> md = Mixer::getGlobalMasterMD(); in unplugged() 162 if ( Mixer::mixers().count() > 0 ) { in unplugged() 166 Mixer::setGlobalMaster( ((Mixer::mixers())[0])->id(), localMaster, false); in unplugged() 171 ((Mixer::mixers())[0])->readableName() in unplugged() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/nancy/ |
H A D | sound.cpp | 48 Audio::Mixer::kSFXSoundType, 49 Audio::Mixer::kSFXSoundType, 51 Audio::Mixer::kSFXSoundType, 62 Audio::Mixer::kSFXSoundType, 63 Audio::Mixer::kSFXSoundType, 66 Audio::Mixer::kSFXSoundType, 67 Audio::Mixer::kSFXSoundType, 68 Audio::Mixer::kSFXSoundType, 69 Audio::Mixer::kSFXSoundType, 71 Audio::Mixer::kSFXSoundType, [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/AudioCommon/ |
H A D | Mixer.cpp | 34 Mixer::Mixer(unsigned int BackendSampleRate) in Mixer() function in Mixer 42 Mixer::~Mixer() in ~Mixer() 46 void Mixer::DoState(PointerWrap& p) in DoState() 270 void Mixer::SetDMAInputSampleRate(unsigned int rate) in SetDMAInputSampleRate() 275 void Mixer::SetStreamInputSampleRate(unsigned int rate) in SetStreamInputSampleRate() 290 void Mixer::StartLogDTKAudio(const std::string& filename) in StartLogDTKAudio() 313 void Mixer::StopLogDTKAudio() in StopLogDTKAudio() 327 void Mixer::StartLogDSPAudio(const std::string& filename) in StartLogDSPAudio() 350 void Mixer::StopLogDSPAudio() in StopLogDSPAudio() 364 void Mixer::MixerFifo::DoState(PointerWrap& p) in DoState() [all …]
|
/dports/devel/p5-SDL/SDL-2.548/lib/SDLx/ |
H A D | Music.pm | 7 use SDL::Mixer; 8 use SDL::Mixer::Music; 9 use SDL::Mixer::Channels; 10 use SDL::Mixer::Samples; 11 use SDL::Mixer::MixChunk; 35 SDL::Mixer::open_audio( 105 SDL::Mixer::Music::load_MUS( $play_data->{file} ); 109 SDL::Mixer::Music::volume_music($volume); 111 unless ( SDL::Mixer::Music::playing_music() || $fade_in ) { 124 return SDL::Mixer::Music::playing_music(); [all …]
|
H A D | Sound.pm | 9 use SDL::Mixer; 10 use SDL::Mixer::Music; 30 SDL::Mixer::open_audio( 44100, AUDIO_S16SYS, 2, 4096 ); 31 my ($status, $freq, $format, $channels) = @{ SDL::Mixer::query_spec() }; 37 …my $init_flags = SDL::Mixer::init( MIX_INIT_MP3 | MIX_INIT_MOD | MIX_INIT_FLAC | MIX_INIT_OGG ); 67 my $music = SDL::Mixer::Music::load_MUS($_[0]) 69 SDL::Mixer::Music::volume_music(85); 70 if (SDL::Mixer::Music::play_music($music, -1)<0) { 86 SDL::Mixer::Music::pause_music(); 92 SDL::Mixer::Music::resume_music(); [all …]
|
/dports/audio/kmix/kmix-21.12.3/backends/ |
H A D | mixer_oss.cpp | 154 return Mixer::ERR_READ; in open() 156 return Mixer::ERR_READ; in open() 158 return Mixer::ERR_READ; in open() 160 return Mixer::ERR_READ; in open() 242 case Mixer::ERR_PERM: in errorText() 246 case Mixer::ERR_OPEN: in errorText() 280 return Mixer::ERR_READ; in setRecsrcToOSS() 331 return Mixer::OK; in setRecsrcToOSS() 412 ret = Mixer::ERR_READ; in readVolumeFromHW() 425 return Mixer::OK; in readVolumeFromHW() [all …]
|