/openbmc/linux/sound/core/oss/ |
H A D | pcm_oss.c | 3 * Digital Audio (PCM) abstract layer / OSS compatible 40 MODULE_DESCRIPTION("PCM OSS emulation for ALSA."); 43 MODULE_PARM_DESC(dsp_map, "PCM device number assigned to 1st OSS device."); 45 MODULE_PARM_DESC(adsp_map, "PCM device number assigned to 2nd OSS device."); 544 plugin = runtime->oss.plugin_first; in snd_pcm_oss_plugin_clear() 550 runtime->oss.plugin_first = runtime->oss.plugin_last = NULL; in snd_pcm_oss_plugin_clear() 557 plugin->next = runtime->oss.plugin_first; in snd_pcm_plugin_insert() 559 if (runtime->oss.plugin_first) { in snd_pcm_plugin_insert() 560 runtime->oss.plugin_first->prev = plugin; in snd_pcm_plugin_insert() 561 runtime->oss.plugin_first = plugin; in snd_pcm_plugin_insert() [all …]
|
H A D | Makefile | 7 snd-mixer-oss-objs := mixer_oss.o 9 snd-pcm-oss-y := pcm_oss.o 10 snd-pcm-oss-$(CONFIG_SND_PCM_OSS_PLUGINS) += pcm_plugin.o \ 13 obj-$(CONFIG_SND_MIXER_OSS) += snd-mixer-oss.o 14 obj-$(CONFIG_SND_PCM_OSS) += snd-pcm-oss.o
|
/openbmc/linux/arch/m68k/mac/ |
H A D | oss.c | 3 * Operating System Services (OSS) chip handling 11 * recent insights into OSS operational details. 12 * 990610 (jmt) - Now taking full advantage of the OSS. Interrupts are mapped 31 volatile struct mac_oss *oss; variable 34 * Initialize the OSS 44 oss = (struct mac_oss *) OSS_BASE; in oss_init() 45 pr_debug("OSS detected at %p", oss); in oss_init() 52 oss->irq_level[i] = 0; in oss_init() 56 * Handle OSS interrupts. 75 events = oss->irq_pending & OSS_IP_NUBUS; in oss_nubus_irq() [all …]
|
/openbmc/linux/Documentation/sound/designs/ |
H A D | oss-emulation.rst | 2 Notes on Kernel OSS-Emulation 11 ALSA provides a powerful OSS emulation on the kernel. 12 The OSS emulation for PCM, mixer and sequencer devices is implemented 13 as add-on kernel modules, snd-pcm-oss, snd-mixer-oss and snd-seq-oss. 14 When you need to access the OSS PCM, mixer or sequencer devices, the 22 Only necessary step for auto-loading of OSS modules is to define the 32 The currently available OSS configuration is shown in 33 /proc/asound/oss/sndstat. This shows in the same syntax of 34 /dev/sndstat, which is available on the commercial OSS driver. 38 after the corresponding OSS-emulation module is loaded. Don't worry [all …]
|
H A D | seq-oss.rst | 2 OSS Sequencer Emulation on ALSA 12 This directory contains the OSS sequencer emulation driver on ALSA. Note 15 What this does - it provides the emulation of the OSS sequencer, access 17 The most of applications using OSS can run if the appropriate ALSA 41 are dependent on the synth driver, as well as even on original OSS. 51 You can run two or more applications simultaneously (even for OSS 67 ``/proc/asound/seq/oss`` at any time. In the later version, 75 and OSS emulation (``--with-oss=yes``) options. A module ``snd-seq-oss.o`` 76 will be created. If the synth module of your sound card supports for OSS 86 Run ``cat /proc/asound/seq/oss``, and check the devices. For example, [all …]
|
H A D | procfile.rst | 50 oss/devices 51 Lists the OSS device mappings. 53 oss/sndstat 78 When the OSS mixer emulation is enabled (and the module is loaded), 80 OSS mixer elements to the ALSA control elements. You can change the 81 mapping by writing to this device. Read OSS-Emulation.txt for 206 seq/oss 207 Lists the OSS-compatible sequencer stuffs.
|
H A D | index.rst | 15 oss-emulation 16 seq-oss
|
/openbmc/qemu/audio/ |
H A D | ossaudio.c | 2 * QEMU OSS audio driver 35 #define AUDIO_CAP "oss" 122 OSSVoiceOut *oss = (OSSVoiceOut *) hw; in oss_poll_out() local 124 qemu_set_fd_handler(oss->fd, NULL, oss_helper_poll_out, hw->s); in oss_poll_out() 129 OSSVoiceIn *oss = (OSSVoiceIn *) hw; in oss_poll_in() local 131 qemu_set_fd_handler(oss->fd, oss_helper_poll_in, NULL, hw->s); in oss_poll_in() 239 oss_logerr2 (errno, typ, "Failed to get OSS version\n"); in oss_get_version() 249 AudiodevOssOptions *oopts = &dev->u.oss; in oss_open() 369 static size_t oss_get_available_bytes(OSSVoiceOut *oss) in oss_get_available_bytes() argument 373 assert(oss->mmapped); in oss_get_available_bytes() [all …]
|
H A D | meson.build | 16 ['oss', oss, files('ossaudio.c')],
|
/openbmc/linux/sound/core/ |
H A D | Kconfig | 55 bool "Enable OSS Emulation" 58 This option enables the build of OSS emulation layer. 61 tristate "OSS Mixer API" 64 To enable OSS mixer API emulation (/dev/mixer*), say Y here 65 and read <file:Documentation/sound/designs/oss-emulation.rst>. 67 Many programs still use the OSS API, so say Y. 70 will be called snd-mixer-oss. 73 tristate "OSS PCM (digital audio) API" 77 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y 78 here and read <file:Documentation/sound/designs/oss-emulation.rst>. [all …]
|
H A D | pcm.c | 403 if (substream->oss.oss) { in snd_pcm_substream_proc_hw_params_read() 404 snd_iprintf(buffer, "OSS format: %s\n", snd_pcm_oss_format_name(runtime->oss.format)); in snd_pcm_substream_proc_hw_params_read() 405 snd_iprintf(buffer, "OSS channels: %u\n", runtime->oss.channels); in snd_pcm_substream_proc_hw_params_read() 406 snd_iprintf(buffer, "OSS rate: %u\n", runtime->oss.rate); in snd_pcm_substream_proc_hw_params_read() 407 snd_iprintf(buffer, "OSS period bytes: %lu\n", (unsigned long)runtime->oss.period_bytes); in snd_pcm_substream_proc_hw_params_read() 408 snd_iprintf(buffer, "OSS periods: %u\n", runtime->oss.periods); in snd_pcm_substream_proc_hw_params_read() 409 snd_iprintf(buffer, "OSS period frames: %lu\n", (unsigned long)runtime->oss.period_frames); in snd_pcm_substream_proc_hw_params_read() 646 mutex_init(&pstr->oss.setup_mutex); in snd_pcm_new_stream() 844 for (setup = pstr->oss.setup_list; setup; setup = setupn) { in snd_pcm_free_stream() 1146 * called for each registered PCM devices. This exists only for PCM OSS
|
/openbmc/linux/include/sound/ |
H A D | minors.h | 66 #define SNDRV_MINOR_OSS_MIXER 0 /* /dev/mixer - OSS 3.XX compatible */ 67 #define SNDRV_MINOR_OSS_SEQUENCER 1 /* /dev/sequencer - OSS 3.XX compatible */ 68 #define SNDRV_MINOR_OSS_MIDI 2 /* /dev/midi - native midi interface - OSS 3.XX compatible - UART */ 70 #define SNDRV_MINOR_OSS_PCM_8 3 /* /dev/dsp - 8bit PCM - OSS 3.XX compatible */ 72 #define SNDRV_MINOR_OSS_PCM_16 5 /* /dev/dsp16 - 16bit PCM - OSS 3.XX compatible */ 73 #define SNDRV_MINOR_OSS_SNDSTAT 6 /* /dev/sndstat - for compatibility with OSS */ 75 #define SNDRV_MINOR_OSS_MUSIC 8 /* /dev/music - OSS 3.XX compatible */ 76 #define SNDRV_MINOR_OSS_DMMIDI 9 /* /dev/dmmidi0 - this device can have another minor # with OSS */ 77 #define SNDRV_MINOR_OSS_DMFM 10 /* /dev/dmfm0 - this device can have another minor # with OSS */
|
H A D | pcm_oss.h | 6 * Digital Audio (PCM) - OSS compatibility abstract layer 30 int format; /* requested OSS format */ 58 unsigned oss: 1; /* oss mode */ member
|
H A D | seq_oss.h | 6 * OSS compatible sequencer driver 18 /* given by OSS sequencer */ 27 /* note-on event passing mode: initially given by OSS seq, 81 #define SNDRV_SEQ_DEV_ID_OSS "seq-oss"
|
/openbmc/qemu/scripts/oss-fuzz/ |
H A D | build.sh | 3 # OSS-Fuzz build script. See: 4 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh 7 # https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfiles 30 OSS_FUZZ_BUILD_DIR="./build-oss-fuzz/" 32 # There seems to be a bug in clang-11 (used for builds on oss-fuzz) : 67 --prefix="/opt/qemu-oss-fuzz" \ 84 --prefix="/opt/qemu-oss-fuzz" \ 92 rm -rf $DEST_DIR/qemu-bundle/opt/qemu-oss-fuzz/bin 93 rm -rf $DEST_DIR/qemu-bundle/opt/qemu-oss-fuzz/libexec
|
/openbmc/qemu/tests/docker/ |
H A D | test-fuzz | 3 # Compile and check with oss-fuzz. 20 mkdir build-oss-fuzz 21 export LSAN_OPTIONS=suppressions=scripts/oss-fuzz/lsan_suppressions.txt 22 env CC="clang" CXX="clang++" CFLAGS="-fsanitize=address" ./scripts/oss-fuzz/build.sh 24 for fuzzer in $(find ./build-oss-fuzz/DEST_DIR/ -executable -type f | grep -v slirp); do
|
/openbmc/linux/sound/ |
H A D | Kconfig | 16 bool "Preclaim OSS device numbers" 20 With this option enabled, the kernel will claim all OSS device 21 numbers if any OSS support (native or emulation) is enabled 30 and whether OSS sound devices appear multiple times in 36 Disabling this allows alternative OSS implementations. 40 source "sound/oss/dmasound/Kconfig"
|
H A D | sound_core.c | 4 * which is common to both OSS and ALSA and OSS sound core which 5 * is used OSS or emulation of it. 72 * OSS sound core handling. Breaks out sound functions to submodules 81 * plug into this. The fact they don't all go via OSS doesn't mean 82 * they don't have to implement the OSS API. There is a lot of logic 83 * to keeping much of the OSS weight out of the code in a compatibility 119 * By default, OSS sound_core claims full legacy minor range (0-255) 124 * prevents alternative OSS implementation and is scheduled to be 557 * For ALSA slot means soundcard and OSS emulation code in soundcore_open()
|
/openbmc/qemu/docs/devel/testing/ |
H A D | fuzzing.rst | 179 OSS-Fuzz 181 QEMU is continuously fuzzed on `OSS-Fuzz 182 <https://github.com/google/oss-fuzz>`_. By default, the OSS-Fuzz build 198 To fuzz additional devices/device configuration on OSS-Fuzz, send patches for 204 fuzzers on OSS-Fuzz can be fund in the OSS-Fuzz repository 205 __(https://github.com/google/oss-fuzz/blob/master/projects/qemu/Dockerfile) 208 QEMU source tree at ``scripts/oss-fuzz/build.sh`` 229 scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py /tmp/trace > /tmp/reproducer 248 scripts/oss-fuzz/minimize_qtest_trace.py -M1 -M2 \ 257 ./scripts/oss-fuzz/output_reproducer.py -bash /tmp/reproducer-minimized [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-fs-xfs |
|
/openbmc/linux/sound/core/seq/ |
H A D | Kconfig | 30 tristate "OSS Sequencer API" 34 Say Y here to enable OSS sequencer emulation (both 37 Many programs still use the OSS API, so say Y. 40 will be called snd-seq-oss.
|
/openbmc/linux/sound/drivers/opl3/ |
H A D | opl3_oss.c | 3 * Interface for OSS sequencer emulation 67 sprintf(name, "OPL%i OSS Port", opl_ver); in snd_opl3_oss_create_port() 89 /* register OSS synth */ 114 /* register to OSS synth table */ in snd_opl3_init_seq_oss() 130 /* open OSS sequencer */ 156 /* close OSS sequencer */
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/fluidsynth/ |
H A D | fluidsynth_2.3.4.bb | 31 PACKAGECONFIG[oss] = "-Denable-oss=ON,-Denable-oss=OFF"
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | Makefile | 7 snd-seq-oss-objs := seq_oss.o seq_oss_init.o seq_oss_timer.o seq_oss_ioctl.o \ 11 obj-$(CONFIG_SND_SEQUENCER_OSS) += snd-seq-oss.o
|
H A D | seq_oss_device.h | 3 * OSS compatible sequencer driver 34 #define SNDRV_SEQ_OSS_PROCNAME "oss" 105 /* create/delete OSS sequencer client */
|