Using multiple audio output devices.

Hey, does anybody know a program for assigning different audio outputs to different applications. For example, having Safari and the OS outputing to the computer speakers, while iTunes and Muse output to bluetooth speakers/headphones (non airport). Can it be done?

Sound Bunny is a nice replacement for Detour, which got lost in the move from PPC years ago. Hoever, there is a small bug with sites with audio (auto-play audio, that is) in Safari 7 (at least). They return the error below and won't load. This happen on other sites, but if it happens on the Google site as well, then something is seriously wrong. The company tech support insists: "SoundBunny will not stop any website from loading. SoundBunny is a audio controlling software and does not control which websites to load." ~ Abu; Prosoft Engineering Customer Support
Even after sending them two screenshots like this, I have gotten no response and no answer to how I might REMOVE the plugin from Safari. So while I like the program, I would be able to RECOMMEND IT if the comapny was at least responsive and recognizes that there is, in fact, an issue to be resolved.

Similar Messages

  • How can you choose which audio output device to use?

    I currently have my system set up to have two different active audio output playback devices, Speakers and Headphones. By default, applications play on the default audio output device, which is set to Speakers on my computer. However, I am wanting to play iTunes on my Headphones output while all other applications are running on the default Speakers output. In Windows Media Player, there is a dropdown to select which output device the application streams to. Is there a way to make iTunes do this, either in the Preferences menu, by using a plugin, or installing a third-party application that overrides which output applications use?

    Under Utility you will find the Configurazione MIDI Audio.app  The name is in italian on my Mac but you should find it in your system language. The icon is a Piano Keyboard.

  • Hi there, can anyone tell me how to make make Garageband ignore HDMI as an audio output-device on a 2013 Mac Mini? Now it keeps on prompting me: Do you want want to use the HDMI device (monitor without audio) for audio output? Thanks in advance, Grtz T.

    Hi there,
    Can anyone tell me how to make make Garageband ignore HDMI as an audio output-device on a 2013 Mac mini i7 using an Apogee jam as an input for bass and a Behringer USB DAC with RCA audio output? Now it keeps on prompting me: Do you want want to use the HDMI device (monitor without audio) for audio output? I'm also suffering massive audio lag issues with the Apogee jam after waking the mini from sleepmode, wich pretty much renders it useless.
    Thanks in advance,
    Grtz T.

    I think the easiest way to do this is to have the EyeTV app running in one user account and sent via HDMI to the TV, and use a separate user account for Screen Sharing. Both logins can be active at the same time and with Lion you can connect via screen sharing to which ever login you need.
    With regards to the Mac video resolution changing, when it is not the current input on your AV receiver. This is 'normal', if the Mac sees no signal it drops down the a lower level. What you need is to buy a HDMI Detective Plus which tricks the Mac in to always seeing a signal and hence it will not drop down the resolution. See http://www.gefen.com/kvm/dproduct.jsp?prod_id=8005
    The Mac mini does have an IR receiver. This can be used with the EyeTV app, iTunes, and similar. Yes I believe EyeTV would run for prolonged periods quite happily, it is has been around for a long time and had most of the rough edges polished off. However one issue you will have to deal with is that it does not automatically update its program guide data. For this you might have to write or modify an AppleScript. Elgato support or their user forums will be a lot of help.
    You can set EyeTV to convert recordings to an iTunes (Apple TV) compatible format and then delete them from EyeTV.
    The HDMI Detective should solve your handshaking problems.

  • Satellite L20 - no audio output device using Win7

    I purchased a 2nd hand Satellite L20 which was upgraded from xp to win7 on the task bar says no audio output device is installed.
    Tried update driver in device manager -- no good
    Downloaded Realtek AC97 driver -- no good.
    It will play sound from dvd through usb sound device to head phones.
    But how the hell do i get the sound to work on internal speaker.

    Do you know which sound chip is inside?
    This old notebook model is not supported for Win7.
    Try to install THIS driver.
    If this will not help try to install Vista driver or drivers designed for other notebook models.
    It is not easy to help with this. Check sound chip.
    By the way: I asked you for model name and not model number!!!

  • Is there a way to have Firefox respect the default audio output device when it has been changed while Firefox is open?

    I have been a Firefox user for many years and I still use it as my primary browser. One problem that has bothered me for years is the fact that when Firefox is open and I change my default audio output device, Firefox doesn't respect that change and continues playing audio through the device that was originally being used. Even if you stop the audio and continue playing, the output device doesn't change.
    Is there any way this can be configured in Firefox? Now if I listen to music online (e.g. Soundcloud) I always use Chrome since it's respects the default audio output device change even while in the middle of playing audio.
    Reproduce:
    1. Start playing audio (e.g. from a YouTube video; HTML5 and Flash are affected)
    2. Change your default audio output device
    3. Audio will continue to play from original output device
    Thanks!

    This is the same issue that has plagued me for years. I always thought that this was a Flash plugin issue, but it does occur on HTML5 as well. A friend of mine verified that this does not occur in Linux, but only on Windows. It would be great to have this fixed, as it's honestly the only thing that's making me use Chrome all the time, as I don't want to have multiple browsers open.

  • How to chang audio-output-device(s) in Windwos 8

    Hi,
    currently I’m working on an application that starts by changing the audio-output-device and ends with re-setting the old one.
    On Windows XP I do this by changing the Registry-entry “Sound-Mapper” and it works quite well.
    I hopefully assume it works on all Windows Systems from XP to Windows 7.
    The background is that our program is supposed to play certain multi-channel sounds over an external USB-multichannel-soundcard and it should switch to that device on start. To actually play the sounds we use the AxWindowsMediaPlayer-Class
    to integrate the Windows-Media-Player in our application.
    However, on Windows 8, it is possible to set multiple Audio-Outputs and the Windows-Media-player has a setting to choose from them (under Options). I was unable to use the Registry-trick to switch the output-device and I could not find
    a way to programmatically tell the AxWindowsMediaPlayer to choose the USB-soundcard as an output.
    Is there a Way to programmatically(c#) ether change the audio-output-device(s) in Windos8 or to tell
    AxWindowsMediaPlayer to use a certain device?
    Thank you.

    Hi Kristin,
    I think your reply pushed me in the right direction.
    The waveOutOpen-function is part of the
    winmm.dll-API and I think, that API is the solution to my Problem.
    Unfortunately I am stuck at this point. I tried mciSendString and mciSendComand. Both are cappable of playing sound, but I am unable to change the output Device.
    This is my c# code to open a WAV-File via mciSendCommand:
    MCI_OPEN_PARMS open = new MCI_OPEN_PARMS();
    open.wDeviceID = 0;//this is somehow ignored
    open.lpstrDeviceType = Marshal.StringToHGlobalAnsi("waveaudio");
    open.lpstrElementName = Marshal.StringToHGlobalAnsi(@"test.wav");
    IntPtr ptr = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(MCI_OPEN_PARMS)));
    Marshal.StructureToPtr(open, ptr, false);
    mciSendCommand(Convert.ToUInt32(textBox2.Text),               
    MCI_OPEN,              
    MCI_WAIT | MCI_OPEN_TYPE | MCI_OPEN_ELEMENT,              
    ptr);
    Afterwards I use mciSendCommand to start the playing of the sound, which works fine, but no matter what I enter in the “open.wDeviceID”-Line, I always get sound over
    the default output.
    I use waveOutGetDevCaps to get the number and kind of the output-Devices and this works fine.
    Regards, Marc

  • Multiple Audio Outputs

    First off before I get to the point...
    I would have submitted this through the iTunes feature request form, but it's been removed. "iTunes feedback" is now simply "what would you like to buy".
    Anyway... I've got two audio outputs on my system - built in audio which goes to the internal speakers, and USB audio which goes to some better external speakers. I'd like to use the internal ones for regular stuff, and the external ones for "real" audio apps.
    Most "real" audio apps are smart enough to detect external speakers, and let you select them explicitly, while non-audio apps just use the default, so it works fine...
    Except iTunes doesn't support this.
    Why can't I explicity select the Audio ouput I want to use. It's not a security/copyright thing, as I can already output to the device by setting it as the default output.
    iTunes should spot multiple audio out devices, and pop them up in the Computer/airtunes button.
    (actually Airtunes SHOULD be a regular audio device, and then this would all work as it should, but that's a different argument, which I'm not going to win).
    Ian

    You can select your sound outputs using system preferences. select sound , select device output.
    or you can go into utilities and open audio midi setup and choose your system output.
    Hope this helps:)
    pH

  • "No audio output device is installed" on Satellite C655D-5120 running Windows 7 64-bit

    Ever since I installed Windows 7 Professional 64-bit on my C655D-5120 laptop, I keep getting the message "no audio output device is installed." I have tried all the suggestions I have been able to find on the internet to install any audio output device to correct this situation but without any success whatsoever. If I go to Control Panel and click on Device Manager, there is no entry for "Sound...." so there is nothing to delete there to start things over again. So, does anyone have some new suggestion that I should try?
    Solved!
    Go to Solution.

    To answer your question, it's a rather long story. I bought the computer used and already out of warranty more than two years ago and sent it to the Philippines with my son to give to a friend there. Because it did not get forwarded, it just sat unplugged for a very long time, likely more than a year. When I suggested that my son plug it in, he informed me that the battery had failed, the keyboard was unreliable, and there might be problems with the hard drive. So when I visited the Philippines in March, I took along a newly purchased battery, a newly purchased keyboard, and a spare hard drive that I already had. In the process of swapping out the keyboard, something slipped and it broke loose the on/off power socket from the motherboard. So I just brought it back to California in April. When I could not repair it myself, I took it back to the man from whom I bought it. He discovered that there was something else seriously wrong with the motherboard and replaced it and the entire lower half of the case, which it turns out was not an exact replacement. The trade unanticipatedly converted my C655D-S5120 to a C655-S5082. When I attempted to boot the computer, it kept asking me for the HDD password, which I had never set or changed and therefore was unknown to me. What caused this to happen I do not know, unless it was because the internal battery completely discharged. Internet research convinced me that this locked HDD was now trash, and I replaced it with a spare WD HDD that had been previously wiped clean, loaded a new installation of Windows 7 64-bit onto it, and started using it again. All research I have done since then and the multiple attempts I have tried indicate that this C655 has no functioning hardware audio device installed and therefore trying to load an audio driver is futile. Not knowing the history of the C655-S5082 replacement definitely complicates things. I have resigned myself to using it without any audio capability. (It is not my only computer.) Because I am severely hearing impaired (I'll be 78 later this year), functional audio is not particularly necessary anyway. So I believe that this case can now be considered closed, even though not to my complete satisfaction.

  • Help! No Audio Output device is installed

    My speaker in bottom right for My sound say "No Audio Output Device Is Installed" and i have tried to go through many things to solve such as go into device manager and enable or update through there etc...to no avail.  
    I stumbled across a thing that worked for most people. Recovery Manager. but. I don't have it on my computer to try so i have no other options to turn to. Can someone please help on how to fix this issue

    Dear Customer,
    Welcome to the HP Consumer Support Forum!!
    To isolate the issue please perform the steps below:
    1. Restart the computer.
    2. Check the Sound icon in the taskbar.
    3. If the icon has an X in the lower corner, click the Sound icon in the taskbar or
    4. Right-click the icon, and then click Troubleshoot sound problems.
    5. The audio troubleshooter checks for sound problems. When the troubleshooter finishes, it displays the results.
    6. If the computer has sound, the issue is resolved.
    Install Original Realtek High Definition Audio Driver from the link below:
    http://support.hp.com/us-en/drivers/selfservice/HP-Pavilion-Slimline-s5000-Desktop-PC-series/3942804...
    From the above link click on Driver-Original > Original Realtek High Definition Audio Driver > Download and install the same.
    In case the issue still persists and if the audio was working fine earlier, you may perform system restore to previous working condition using the steps mentioned in the link below:
    http://bertk.mvps.org/html/restoresysv.html
    Hope this helps, for any further queries reply to the post and feel free to join us again.
    **Click the KUDOS star on left to say Thanks**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    Thank You,
    GR1
    Although I am an HP employee, I am speaking for myself and not for HP

  • NO Audio output Device is installed as well as NO sound, video, or game tab in the device manager

     Here is the issue I had with with my Compaq F700 series laptop. The sound was working one day and then not working the next. Over the volume icon there was a big red X and the warning that  No Audio output Device is installed. I also found that there no longer was the sound, video, game tab in the device manager. It had gone missing.    
    I couldn't use most of the fixes as they require having the sound, video, game tab available and this tab was, as I said missing. I tried reinstalling the sound drivers from the manufacturer’s website as well as using the driver re-install, but at each attempt it would fail as a result of not having any audio devices installed on the computer.    
    I tried doing the system restore and rolling it back but the problem didn't get resolved. What eventually worked was restoring the system to a MUCH earlier date, like a month prior to the problem. When the restore finished the sound was still not fixed. HOWEVER, the computer OS (WINDOWS 7) needed to re-install a bunch of updates and after the updates were installed, everything was working. I suspect that the original issue was a bad update (the updates didn't install correctly) and that by rolling the system back to a time prior to the bad updates and then re-installing the update was the fix.
    With that said, if the restore option doesn’t work or can’t be done I would try looking through the add/remove programs in the control panel and uninstall the most recent system updates, then restart computer and let the updates re-install.  
    Good Luck

    Only option that I see in the BIOS is under Security.  Audio Device: Hidden or Available. It was set to available and I left it at that. Still no audio.
    Really? Nothing? This computer is one year old. Absolutely no reason for this to be happening. What a joke.

  • Is there no way to direct an AIR app's audio to different audio output devices?

    I'm needing to make a couple of our AIR apps select certain audio devices to send their audio output to, and last year, somebody mentioned possibly using native extensions to do this.  I had to start working on other things for a while, but I've come back to this (for the moment), and I've basically learned how to create native extensions.
    But so far, they don't seem to provide me any special access to anything going on under the hood of an AIR app.  When you stream live audio in through RTMP or RTMFP, the details of the audio are hidden from you.  There doesn't appear to be any place where you can actually access the audio bytes that are being sent over the wire.  You can specify a certain SoundTransform object for the NetStream to use, but that class is final and a vanilla Flash construct, so even if it may have a way to access the audio bytes, they're not acessible at all.
    It really looks like, when a NetStream object starts streaming in live audio, there is no way under the sun to access the audio bytes and direct them to a certain audio output device, with or without extensions.  Is this so?  It would be unfortunate if Adobe didn't allow this, even through native extensions.  Thanks.

    Couple quick thoughts..
    Limits are important. There's a large amount of work done to keep a clear separation between a users decision and a developers decision. For instance, you can't change a users default audio output because that clearly violates a users decision. That said, here's a whole mess of people debating the issue and actually eventually an undocumented COM API you can find that will actually let you do it in Vista/Win7 (but not 8), however don't expect that to be a 'good thing to do':
    http://social.microsoft.com/Forums/en-US/9ebd7ad6-a460-4a28-9de9-2af63fd4a13e/programatica lly-setting-the-default-playback-device-and-recording-device?forum=windowspro-audiodevelop ment
    You might want to get a beverage before reading that.
    Aside that, RTMP is secured, which is why you can't gain access to the bytes. The entire purpose of it is to assure media developers that their media can't easily be copied/stolen. Adobe doesn't document their method of securing streams but they do publish the RTMP specification. It's entirely possible for you to create your own RTMP server and encryption method while delivering a RTMP stream to custom client that you code yourself which can read the stream. Here's the spec:
    http://www.adobe.com/devnet/rtmp.html
    So I'd say it would be unfortunate if Adobe did give you access to the bytes. You might as well just hand users a mp3 of whatever song is playing because they would steal media left and right.
    That isn't to say you can't use a multitude of ways of getting the data going across the default output device. Plenty of apps (fraps/etc) capture video and mixed audio streams. But Adobe isn't going to give you the keys to the kingdom and let you decrypt their protected media protocol.

  • Windows 8.1 Pro No Audio Output Device

    Hi, I recently installed Windows 8.1 Pro on my laptop using Boot Camp. Everything works perfectly, except for the audio. It says there is no audio output device installed. Can someone give me the proper link to fix this? Also, clear instructions would be great because I am not very experienced with this.

    BC 5.1.5621 is a collection of drivers not a single unified driver. You can see it on the USB drive on which they get downloaded and written to. The collection in the zip file is what Rudegar is referring to. There is a Realtek, Intel HDA, and many other individual drivers in the zip file.
    If you cannot see the devices in Device Manager in Windows, then it may be an issue. Did you install W8.1 via EFI Boot on an older than 2013 Mac?

  • No audio output device is installed - Satellite C855D-S5950 - Windows 8 64-bit

    Toshiba laptop
    Model: Satellite C855D-S5950
    P/N: PSCBQU-03G03E
    OS: Windows 8 64bit
    RAM: 4GB.
    Hello,
    I have my friend’s Toshiba Satellite C855D-S5950 with Windows 8 (64bit) that about a year old.  Some months ago the sound stopped working.  He asked me to take a look at it.  I have researched this issue and found others have encountered his problem as well. 
    Currently, the sound icon has a red x, “No audio output device is installed.”
    Things I have tried so far to try to fix this:
    I went to the Device Manager > Sound, video and game controllers. I have "Realtek High Definition Audio" listed with the little yellow caution icons on them. I have tried to disable, then enable it.  I have tried to uninstall the sound driver from the Device Manager.  I would restart the laptop, and let the driver reinstall itself, to no effect. I have tried downloading the latest drivers from the Toshiba website. I have tried un-installing the driver while in safe mode from the Device Manager.  As well as from Programs and Features.   There were no positive change to the audio though, still the same message. The Realtek driver won't finish installing and throws the error: "Install Realtek HD Audio Driver Failure!! [Error Code: 0x000000FF]"
    I have gone to Control Panel > Sound, under both the Playback and Recording tabs, it says "No audio devices are installed."
    My friend was previously unaware of how to restart or shut down his Windows 8 laptop (as was I until I started investigating this problem for him).  I mention this because there are no useful System Restore points to go back to for him.
    I have also tried Using the Toshiba Application Installer as well to re-install the driver after un-installing the Realtek Audio driver from Add/Remove Programs.  I went to Desktop Assist >Support Recovery > Toshiba Application Installer.
    Realtek Audio Driver 6.0.1.6743
    It loads most of the way then I get:
    "Install Realtek HD Audio Driver Failure!! [Error Code: 0x000000FF]"
    I have also tried the following links for additional troubleshooting:
    http://forums.toshiba.com/t5/Audio-Sound-Knowledge-Base/Windows-8-Troubleshoot-no-sound-with-Windows...
    http://forums.toshiba.com/t5/Audio-Sound-Knowledge-Base/No-sound-from-speakers-or-headphones/ta-p/27...
    http://windows.microsoft.com/en-us/windows/no-sound-help#no-sound=windows-7&v1h=win8tab1&v2h=win7tab...
    http://forums.toshiba.com/t5/Audio-Sound/No-Sound-quot-No-Audio-Output-Device-is-installed-quot-Tosh...
    It was also suggested in the above thread I remove the Microsoft UAA Driver, but could not find this driver on my friend’s system.
    Plugging in headphones, toggling the speaker volume controls on the keyboard has had no effect.
    My friend has also misplaced his install discs, so I am looking for any solution which does not require the install discs.
    Any help would greatly be appreciated.
    Toshiba laptop
    Model: Satellite C855D-S5950
    P/N: PSCBQU-03G03E
    OS: Windows 8 64bit
    RAM: 4GB.
    Thanks in advance.
    -Tre

    Recovery media is created from the hard drive. You can make it using Toshiba Recovery Media Creator. You can also perform a full system reset to factory defaults using the information on the hard drive without using external recovery media. That sounds like the best course of action now. To do so, use Windows+C > Settings > Power > SHIFT + Restart > Troubleshoot > Reset your PC.
    - Peter

  • Changing audio output device for currently running program

    I'm not sure where to put this question, but all my searching hasn't seemed to find an answer...
    If I have a program running, iTunes, VLC, a game, whatever, and want to change audio output from say Line Out to Headphones, I have to restart the program for the change to take effect. Is this by design/normal or am I missing something somewhere?

    this is actually a quiet significant issue. There is no way in Flash to select the audio output device.
    Today  people have regular speakers and a separate headset. They all use the  speakers for music and the headset for voice. Skype i.e. has the option  to choose audio output device and its really handy, because
    you dont  have to bother to set the default device to the headset everytime you  want to use it.
    If you set the default device to the headset all other apps will send their audio  output to the headset - which is not what you want either.
    So people  really want to leave the default device set to the speakers and not to  the headset.
    Nokia did this for Java
    JRT 2.1 / Nokia UI API updated to version 1.4:
                AudioOutputControl extension for controlling which audio output device, for example the device loudspeaker or earpiece, is used to play back audio
    This really is an issue.

  • Pavilion dv6700 no audio output device, no DVD/ROM Vista 32bit

     I actually have 2 of these computers, but the first overheated 5 years ago, and when I pulled the power cord the female part of the adapter came out of the cord jack with the power cord adapter. Neither of the batteries on these 2 computers were part of the recall.  HP Pavilion dv6700 notebook entertainment pcX-86 based Product number FE654UA#ABAmodel # dv6915ntservice ID 18240 Windows Vista Home Premium 6.0.6002 Service Pack 2 Build 6002AMD Turion 64 X2 Mobile Technology TL-60Vista Service pack 2,  32 bit BIOS Version/Date Hewlett-Packard F.34, 3/22/2011
    SMBIOS Version 2.4
    Windows Directory C:\Windows
    System Directory C:\Windows\system32
    Boot Device \Device\HarddiskVolume1
    Locale United States
    Hardware Abstraction Layer Version = "6.0.6002.18005" [Sound Device]Item Value
    Name Conexant High Definition SmartAudio 221
    Manufacturer Conexant
    Status OK
    PNP Device ID HDAUDIO\FUNC_01&VEN_14F1&DEV_5051&SUBSYS_103C30CF&REV_1000\4&887B936&0&0001
    Driver c:\windows\system32\drivers\chdrt32.sys (4.36.7.0, 184.00 KB (188,416 bytes), 3/4/2008 1:32 AM) Ricoh R5C83x?84x Flash Media Controller Driver Ver 3.51.01Viewpoint Media playerAdobe Flash 11.9.900.170 Active X and Plugin Adobe Shockwave Player 10.2.0.023Adobe Shockwave Player 12.0   12.0.2.122 Cyberlink DVD Suite  5.5.0928 Chrome Frame 32.0.1700.76 Sorry to provide yet another audio device post, but my working dv 6700 did not come up on search HP support. I get the message "No audio output device is installed." after an update.My DVD drive has disappeared. The fan never shuts off and is LOUD unless I use power saver mode, where it doesn't run at all. The system restore says it has no backups, but it does have some recent backups. The pavilion runs very hot.  To remedy the sound issue I have tried:updating BIOS,repairing the operating system with sfc/scannow,system restore,Microsoft Fix It automatic repairs,  and other lesser ideas such as:updates,reinstall driver,Services properties for audio Some of the fixes work temporarily, but inevitably the sound is lost again, and the icon in the system tray has a red x.  The hardware cannot be found in device manager, so drivers cannot be updated.I can't turn the hardware on or off, because it isn't found in the first place.Rebooting sometimes fixes it temporarily. It's very frustrating to have an entertainment pc with no sound. Can you please help? Links to repair options at HP under Problem Reports and Solutions do not always work. When they do, the problem recurs.  I have not even attempted to get back the CD ROM or fan issue. Thanks for your patience, and for being there to help.  -C

    Error Msg - "No Audio Output Device is installed" - Mine is dv6000 series.... tried everything on this forum... fixes provided by Hp / MS did not work; sound, video and game controllers did not appear in the device manager; Recovery of driver from Recovery Manager did not work; system restore did not work. .... See how i did it.....Did a complete system Recovery to factory condition using Recovery partition... sound returned... worked for a few days... then disappeared again... so it was clear that it was not a hardware related issue but the reason was some update provided by microsoft (sp1, sp2, silverlight, internet explorer or one from those 100 updates that i got from ms after the system recovery (you can never say for sure which update neither can u pinpoint it to sp2)... its actually a conflict .... what i observed was that internet explorer update continued to fall in despite it already being installed.... so went and uninstalled it (not much of an issue just about 9 to 10 MB as compared to a fat MB of SP2). ... and there it was = sound returned !!! so did the internet explorer update which i hid from then on .  Prob solved....  The webcam which had also returned after the system recovery remained with me from thereon and was not affected by the win updates this time.  Now the only issue before me is the CD DVD Drive... which also appeared after a long period of silence (something like after many years) ie after the system recovery, but disappeared soon after the updates... so again not a hardware issue but a windows update issue... here too fixes being provided do not work... search continues for the DVD Drive restoration.

Maybe you are looking for