Displaying 3 results from an estimated 3 matches for "default_driver".
2009 Oct 06
0
[ao] Two patches for libao2
...++ b/src/ao_private.h
> @@ -26,6 +26,8 @@
> #ifndef __AO_PRIVATE_H__
> #define __AO_PRIVATE_H__
>
> +#include "ao/ao.h"
> +
> /* --- Operating System Compatibility --- */
>
> /*
> @@ -61,6 +63,7 @@
>
> typedef struct ao_config {
> char *default_driver;
> + ao_option *options;
> } ao_config;
>
> /* --- Functions --- */
> diff --git a/src/audio_out.c b/src/audio_out.c
> index 6e39047..14012e4 100644
> --- a/src/audio_out.c
> +++ b/src/audio_out.c
> @@ -95,7 +95,8 @@ static ao_functions *static_drivers[] = {
>
&g...
2013 Dec 04
1
endian problems with AIFF and WAV
...o -ldl -lm -lsndfile" */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <ao/ao.h>
#include <sndfile.h>
#include <math.h>
ao_device *device;
ao_sample_format format;
int main(int argc, char *argv[])
{
int default_driver;
int frames_read;
int *buffer;
SNDFILE *sndfile;
SF_INFO sf_info;
FILE *fp;
if (argc != 2) {
printf("usage: %s <filename>\n", argv[0]);
exit(1);
}
ao_initialize();
default_driver = ao_default_driver_id();
fp = fopen(...
2011 Mar 23
1
Re: [RFC PATCH V4 3/5] cpuidle: default idle driver for x86
...default and mwait
idle from arch/x86/kernel/process.c to a driver. This was
suggested by Venki (https://lkml.org/lkml/2010/10/19/460)
as part of pm_idle cleanup and direct call of
cpuidle_idle_call(). There is not much new code here.
>
>> +obj-$(CONFIG_X86) += default_driver.o
>
> BTW, that''s a pretty generic name for an x86 specific idle driver...
>
> I think that on builds that support intel_idle and acpi_idle,
> everything in this file will be unused, unless somebody uses some
> debugging cmdline params that should have been deleted ages a...