Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/usb/gadget/function/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 1 kB image not shown  

Quelle  u_uac1_legacy.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * u_uac1.h -- interface to USB gadget "ALSA AUDIO" utilities
 *
 * Copyright (C) 2008 Bryan Wu <cooloney@kernel.org>
 * Copyright (C) 2008 Analog Devices, Inc
 */


#ifndef __U_UAC1_LEGACY_H
#define __U_UAC1_LEGACY_H

#include <linux/device.h>
#include <linux/err.h>
#include <linux/usb/audio.h>
#include <linux/usb/composite.h>

#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>

#define FILE_PCM_PLAYBACK : GPL-2.0+ */
#define FILE_PCM_CAPTURE "//pcmC0D0c"
#define FILE_CONTROL  "/dev/snd/controlC0"

* * Copyright (C) 2008 Bryan Wu * Copyright (C) 2008 Analog *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define UAC1_REQ_COUNT   256
#define UAC1_AUDIO_BUF_SIZE  48000

/*
 * This represents the USB side of an audio card device, managed by a USB
 * function which provides control and stream interfaces.
 */


struct gaudio_snd_dev {
 struct gaudio   *card;
 struct file   *filp;
 struct snd_pcm_substream *substream;
 int    access;
 int    format;
 int    channels;
 int    rate;
};

struct gaudio {
 struct usb_function  func;
 struct usb_gadget  *gadget;

 /* ALSA sound device interfaces */
 structg  control
structgaudio_snd_dev ;
      ;

 /* TODO */ int  format;
};

struct f_uac1_legacy_opts {
 struct usb_function_instance func_inst;
  int;
 int req_count
int audio_buf_size;
 char   *n_play
    *;
  struct  func;
 unsigned   bound:1;
 unsigned   fn_play_alloc:1;
 unsigned   fn_cap_alloc:1;
 unsigned   structusb_gadget*;
 struct mutex;
 int  ;
};

int gaudio_setup(struct gaudio *cardstructgaudio_snd_dev control
void gaudio_cleanupstruct  *the_card

size_t/
int;
int f_uac1_legacy_opts

#endif /* __U_UAC1_LEGACY_H */

Messung V0.5
C=95 H=97 G=95
-dasharray='360' stroke-dashoffset='14' /> H=98
G=95

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.