Blame gsound/gsound-attr.h

Packit 517f8c
/* gsound-attr.h
Packit 517f8c
 * 
Packit 517f8c
 * Copyright (C) 2014 Tristan Brindle <t.c.brindle@gmail.com>
Packit 517f8c
 * 
Packit 517f8c
 * Adapted from canberra.h,
Packit 517f8c
 * 
Packit 517f8c
 * Copyright 2008 Lennart Poettering 
Packit 517f8c
 *
Packit 517f8c
 * This file is free software; you can redistribute it and/or modify it
Packit 517f8c
 * under the terms of the GNU Lesser General Public License as
Packit 517f8c
 * published by the Free Software Foundation; either version 2.1 of the
Packit 517f8c
 * License, or (at your option) any later version.
Packit 517f8c
 *
Packit 517f8c
 * This file is distributed in the hope that it will be useful, but
Packit 517f8c
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 517f8c
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 517f8c
 * Lesser General Public License for more details.
Packit 517f8c
 *
Packit 517f8c
 * You should have received a copy of the GNU General Public License
Packit 517f8c
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
Packit 517f8c
 */
Packit 517f8c
Packit 517f8c
#ifndef GSOUND_ATTR_H
Packit 517f8c
#define GSOUND_ATTR_H
Packit 517f8c
Packit 517f8c
#include <glib.h>
Packit 517f8c
Packit 517f8c
G_BEGIN_DECLS
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * SECTION:gsound-attr
Packit 517f8c
 * @title: GSound Attributes
Packit 517f8c
 * @short_description: Attributes recognized by GSound
Packit 517f8c
 * @see_also: #GSoundContext
Packit 517f8c
 * 
Packit 517f8c
 * Attributes which can be applied to a #GSoundContext or passed to one of
Packit 517f8c
 * the `play()` or `cache()` methods.
Packit 517f8c
 */
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_NAME:
Packit 517f8c
 *
Packit 517f8c
 * A name describing the media being played. Localized if possible and applicable.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_NAME                         "media.name"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_TITLE:
Packit 517f8c
 *
Packit 517f8c
 * A (song) title describing the media being played. Localized if possible and applicable.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_TITLE                        "media.title"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_ARTIST:
Packit 517f8c
 *
Packit 517f8c
 * The artist of this media. Localized if possible and applicable.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_ARTIST                       "media.artist"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_LANGUAGE:
Packit 517f8c
 *
Packit 517f8c
 * The language this media is in, in some standard POSIX locale string, such as "de_DE".
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_LANGUAGE                     "media.language"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_FILENAME:
Packit 517f8c
 *
Packit 517f8c
 * The file name this media was or can be loaded from.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_FILENAME                     "media.filename"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_ICON:
Packit 517f8c
 *
Packit 517f8c
 * An icon for this media in binary PNG format.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_ICON                         "media.icon"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_ICON_NAME:
Packit 517f8c
 *
Packit 517f8c
 * An icon name as defined in the XDG icon naming specifcation.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_ICON_NAME                    "media.icon_name"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_MEDIA_ROLE:
Packit 517f8c
 *
Packit 517f8c
 * The "role" this media is played in. For event sounds the string
Packit 517f8c
 * "event". For other cases strings like "music", "video", "game", ...
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_MEDIA_ROLE                         "media.role"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_EVENT_ID:
Packit 517f8c
 *
Packit 517f8c
 * A textual id for an event sound, as mandated by the XDG sound naming specification.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_EVENT_ID                           "event.id"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_EVENT_DESCRIPTION:
Packit 517f8c
 *
Packit 517f8c
 * A descriptive string for the sound event. Localized if possible and applicable.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_EVENT_DESCRIPTION                  "event.description"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_EVENT_MOUSE_X:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a mouse input event, the X
Packit 517f8c
 * position of the mouse cursor on the screen, formatted as string.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_EVENT_MOUSE_X                      "event.mouse.x"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_EVENT_MOUSE_Y:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a mouse input event, the Y
Packit 517f8c
 * position of the mouse cursor on the screen, formatted as string.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_EVENT_MOUSE_Y                      "event.mouse.y"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_EVENT_MOUSE_HPOS:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a mouse input event, the X
Packit 517f8c
 * position of the mouse cursor as fractional value between 0 and 1,
Packit 517f8c
 * formatted as string, 0 reflecting the left side of the screen, 1
Packit 517f8c
 * the right side.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_EVENT_MOUSE_HPOS                   "event.mouse.hpos"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_EVENT_MOUSE_VPOS:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a mouse input event, the Y
Packit 517f8c
 * position of the mouse cursor as fractional value between 0 and 1,
Packit 517f8c
 * formatted as string, 0 reflecting the top end of the screen, 1
Packit 517f8c
 * the bottom end.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_EVENT_MOUSE_VPOS                   "event.mouse.vpos"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_EVENT_MOUSE_BUTTON:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a mouse input event, the
Packit 517f8c
 * number of the mouse button that triggered it, formatted as string. 1
Packit 517f8c
 * for left mouse button, 3 for right, 2 for middle.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_EVENT_MOUSE_BUTTON                 "event.mouse.button"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_NAME:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, the
Packit 517f8c
 * name of this window as human readable string.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_NAME                        "window.name"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_ID:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, some
Packit 517f8c
 * identification string for this window, so that the sound system can
Packit 517f8c
 * recognize specific windows.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_ID                          "window.id"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_ICON:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, binary
Packit 517f8c
 * icon data in PNG format for this window.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_ICON                        "window.icon"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_ICON_NAME:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, an
Packit 517f8c
 * icon name for this window, as defined in the XDG icon naming
Packit 517f8c
 * specification.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_ICON_NAME                   "window.icon_name"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_X:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, the X
Packit 517f8c
 * position of the window measured from the top left corner of the
Packit 517f8c
 * screen to the top left corner of the window.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_X                           "window.x"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_Y:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, the y
Packit 517f8c
 * position of the window measured from the top left corner of the
Packit 517f8c
 * screen to the top left corner of the window.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_Y                           "window.y"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_WIDTH:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, the
Packit 517f8c
 * pixel width of the window.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_WIDTH                       "window.width"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_HEIGHT:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, the
Packit 517f8c
 * pixel height of the window.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_HEIGHT                      "window.height"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_HPOS:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, the X
Packit 517f8c
 * position of the center of the window as fractional value between 0
Packit 517f8c
 * and 1, formatted as string, 0 reflecting the left side of the
Packit 517f8c
 * screen, 1 the right side.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_HPOS                        "window.hpos"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_VPOS:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen, the Y
Packit 517f8c
 * position of the center of the window as fractional value between 0
Packit 517f8c
 * and 1, formatted as string, 0 reflecting the top side of the
Packit 517f8c
 * screen, 1 the bottom side.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_VPOS                        "window.vpos"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_DESKTOP:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen and the
Packit 517f8c
 * windowing system supports multiple desktops, a comma seperated list
Packit 517f8c
 * of indexes of the desktops this window is visible on. If this
Packit 517f8c
 * attribute is an empty string, it is visible on all desktops
Packit 517f8c
 * (i.e. 'sticky'). The first desktop is 0. (e.g. "0,2,3")
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_DESKTOP                    "window.desktop"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_X11_DISPLAY:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen and the
Packit 517f8c
 * windowing system is X11, the X display name of the window (e.g. ":0").
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_X11_DISPLAY                 "window.x11.display"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_X11_SCREEN:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen and the
Packit 517f8c
 * windowing system is X11, the X screen id of the window formatted as
Packit 517f8c
 * string (e.g. "0").
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_X11_SCREEN                  "window.x11.screen"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_X11_MONITOR:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen and the
Packit 517f8c
 * windowing system is X11, the X monitor id of the window formatted as
Packit 517f8c
 * string (e.g. "0").
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_X11_MONITOR                 "window.x11.monitor"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_WINDOW_X11_XID:
Packit 517f8c
 *
Packit 517f8c
 * If this sound event was triggered by a window on the screen and the
Packit 517f8c
 * windowing system is X11, the XID of the window formatted as string.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_WINDOW_X11_XID                     "window.x11.xid"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_NAME:
Packit 517f8c
 *
Packit 517f8c
 * The name of the application this sound event was triggered by as
Packit 517f8c
 * human readable string. (e.g. "GNU Emacs") Localized if possible and
Packit 517f8c
 * applicable.
Packit 517f8c
 * 
Packit 517f8c
 * > This attribute will automatically be added to the #GSoundContext if
Packit 517f8c
 * > it has previously been set with g_set_application_name(), so you normally
Packit 517f8c
 * > do not need to supply this yourself.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_NAME                   "application.name"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_ID:
Packit 517f8c
 *
Packit 517f8c
 * An identifier for the program this sound event was triggered
Packit 517f8c
 * by. (e.g. "org.gnu.emacs").
Packit 517f8c
 * 
Packit 517f8c
 * > This attribute will automatically be added to the #GSoundContext with
Packit 517f8c
 * > the #GApplication:application-id if you are using #GApplication, so you
Packit 517f8c
 * > normally do not need to supply this yourself.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_ID                     "application.id"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_VERSION:
Packit 517f8c
 *
Packit 517f8c
 * A version number for the program this sound event was triggered
Packit 517f8c
 * by. (e.g. "22.2")
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_VERSION                "application.version"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_ICON:
Packit 517f8c
 *
Packit 517f8c
 * Binary icon data in PNG format for the application this sound event
Packit 517f8c
 * is triggered by.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_ICON                   "application.icon"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_ICON_NAME:
Packit 517f8c
 *
Packit 517f8c
 * An icon name for the application this sound event is triggered by,
Packit 517f8c
 * as defined in the XDG icon naming specification.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_ICON_NAME              "application.icon_name"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_LANGUAGE:
Packit 517f8c
 *
Packit 517f8c
 * The locale string the application that is triggering this sound
Packit 517f8c
 * event is running in. A POSIX locale string such as de_DE@euro.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_LANGUAGE               "application.language"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_PROCESS_ID:
Packit 517f8c
 *
Packit 517f8c
 * The unix PID of the process that is triggering this sound event, formatted as string.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_PROCESS_ID             "application.process.id"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_PROCESS_BINARY:
Packit 517f8c
 *
Packit 517f8c
 * The path to the process binary of the process that is triggering this sound event.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_PROCESS_BINARY         "application.process.binary"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_PROCESS_USER:
Packit 517f8c
 *
Packit 517f8c
 * The user that owns the process that is triggering this sound event.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_PROCESS_USER           "application.process.user"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_APPLICATION_PROCESS_HOST:
Packit 517f8c
 *
Packit 517f8c
 * The host name of the host the process that is triggering this sound event runs on.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_APPLICATION_PROCESS_HOST           "application.process.host"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_CANBERRA_CACHE_CONTROL:
Packit 517f8c
 *
Packit 517f8c
 * A special attribute that can be used to control the automatic sound
Packit 517f8c
 * caching of sounds in the sound server. One of "permanent",
Packit 517f8c
 * "volatile", "never". "permanent" will cause this sample to be
Packit 517f8c
 * cached in the server permanently. This is useful for very
Packit 517f8c
 * frequently used sound events such as those used for input
Packit 517f8c
 * feedback. "volatile" may be used for cacheing sounds in the sound
Packit 517f8c
 * server temporarily. They will expire after some time or on cache
Packit 517f8c
 * pressure. Finally, "never" may be used for sounds that should never
Packit 517f8c
 * be cached, because they are only generated very seldomly or even
Packit 517f8c
 * only once at most (such as desktop login sounds).
Packit 517f8c
 *
Packit 517f8c
 * If this attribute is not explicitly passed to gsound_context_play_simple() 
Packit 517f8c
 * or gsound_context_play_full() it will default to "never". If it is not
Packit 517f8c
 * explicitly passed to gsound_context_cache() it will default to "permanent".
Packit 517f8c
 *
Packit 517f8c
 * If the list of attributes is handed on to the sound server this
Packit 517f8c
 * attribute is stripped from it.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_CANBERRA_CACHE_CONTROL             "canberra.cache-control"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_CANBERRA_VOLUME:
Packit 517f8c
 *
Packit 517f8c
 * A special attribute that can be used to control the volume this
Packit 517f8c
 * sound event is played in if the backend supports it. A floating
Packit 517f8c
 * point value for the decibel multiplier for the sound. 0 dB relates
Packit 517f8c
 * to zero gain, and is the default volume these sounds are played in.
Packit 517f8c
 *
Packit 517f8c
 * If the list of attributes is handed on to the sound server this
Packit 517f8c
 * attribute is stripped from it.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_CANBERRA_VOLUME                    "canberra.volume"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_CANBERRA_XDG_THEME_NAME:
Packit 517f8c
 *
Packit 517f8c
 * A special attribute that can be used to control the XDG sound theme that
Packit 517f8c
 * is used for this sample.
Packit 517f8c
 *
Packit 517f8c
 * If the list of attributes is handed on to the sound server this
Packit 517f8c
 * attribute is stripped from it.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_CANBERRA_XDG_THEME_NAME            "canberra.xdg-theme.name"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_CANBERRA_XDG_THEME_OUTPUT_PROFILE:
Packit 517f8c
 *
Packit 517f8c
 * A special attribute that can be used to control the XDG sound theme
Packit 517f8c
 * output profile that is used for this sample.
Packit 517f8c
 *
Packit 517f8c
 * If the list of attributes is handed on to the sound server this
Packit 517f8c
 * attribute is stripped from it.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_CANBERRA_XDG_THEME_OUTPUT_PROFILE  "canberra.xdg-theme.output-profile"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_CANBERRA_ENABLE:
Packit 517f8c
 *
Packit 517f8c
 * A special attribute that can be used to control whether any sounds
Packit 517f8c
 * are played at all. If this attribute is "1" or unset sounds are
Packit 517f8c
 * played as normal. However, if it is "0" all calls to
Packit 517f8c
 * gsound_context_play_simple() or `play_full()` will fail with
Packit 517f8c
 * GSOUND_ERROR_DISABLED.
Packit 517f8c
 *
Packit 517f8c
 * If the list of attributes is handed on to the sound server this
Packit 517f8c
 * attribute is stripped from it.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_CANBERRA_ENABLE                    "canberra.enable"
Packit 517f8c
Packit 517f8c
/**
Packit 517f8c
 * GSOUND_ATTR_CANBERRA_FORCE_CHANNEL:
Packit 517f8c
 *
Packit 517f8c
 * A special attribute that can be used to control on which channel a
Packit 517f8c
 * sound is played. The value should be one of mono, front-left,
Packit 517f8c
 * front-right, front-center, rear-left, rear-right, rear-center, lfe,
Packit 517f8c
 * front-left-of-center, front-right-of-center, side-left, side-right,
Packit 517f8c
 * top-center, top-front-left, top-front-right, top-front-center,
Packit 517f8c
 * top-rear-left, top-rear-right, top-rear-center. This attribute is
Packit 517f8c
 * only honoured by some backends, other backends may choose to ignore
Packit 517f8c
 * it completely.
Packit 517f8c
 *
Packit 517f8c
 * If the list of attributes is handed on to the sound server this
Packit 517f8c
 * attribute is stripped from it.
Packit 517f8c
 */
Packit 517f8c
#define GSOUND_ATTR_CANBERRA_FORCE_CHANNEL            "canberra.force_channel"
Packit 517f8c
Packit 517f8c
Packit 517f8c
Packit 517f8c
G_END_DECLS
Packit 517f8c
Packit 517f8c
#endif /* GSOUND_ATTR_H */