Updated at last. study it carefully.
A new openal 1.1 installer for windows and a new openal 1.1 SDK for windows are now available at pai.creative.com. this SDK combines the openal SDK with the X-RAM SDK and the creative effects SDK to create a single download for openal developers. the SDK has des new documentation
BlackBerry 10/playbook OS 2.0 has a built-in OpenAL class library, so it's convenient to use the OpenAL class library to play sounds in your program.
The example program cowbell provided on the BlackBerry 10 developer site includes examples of how to code.
Basic Sound HandlingA cow, a bell, and Cascades is the only th
Header file
/** Soundplay. H * 1: You need to download and develop the openal Development Kit (software implementation of the openal API (Devlopment files) and ALUT Development Kit * 2: add the header file path:/usr/include/Al * 3: add libraries: openal and ALUT */# ifndef soundplay_h _ # define soundplay_h _ # include
Cpp File
/** Soundplay. cpp */# include "
1. First download the instance source code, address: http://download.csdn.net/source/2333153
2. After downloading the SDK, you can see the openal-SDK. You need to install it. Suppose you have installed it in E:/openal/SDK/
3. decompress the ALUT package. You do not need the SRC Source code package. directly use the bin package. decompress the bin package to E:/openal
1.cmakelists.txt set (Libtype SHARED) changed to set (Libtype STATIC) 2.include/al/al.h Delete dllexport 3.include/al/ alc.h Delete dllexport 4.alc/bs2b.c bs2b_set_level change to Bs2b_set_level2 ... 5.openal32/include/bs2b.h Bs2b_set_level changed into Bs2b_set_level2 ... The OPENAL/BS2B was modified to avoid a static compile-time conflict with the original BS2B---cmakelists.txt.orig2011-02-16 04:05:40 +0800+++ cmakelists.txt2016-03-23 08:23:05 +0800
this article reprinted to http://blog.csdn.net/u014011807/article/details/40187737What can you learn in this volume?Four ways to design audio players for a variety of applications:Based on the Audiotoolbox.framework framework. Play the system sound file.Based on the Avfoundation.framework framework. Play a variety of audio format files. Has advanced audio player capabilities. such as real-time display of progress, power, control volume, playback time and so on.Based on the
First, you need to import audiotoolbox. Framework and openal. framework.
Openalviewcontroller. h
#import
Openalviewcontroller. m
#import "OpenALViewController.h"#import
# Include
# Include "timer. H "# include" LED. H "// mini stm32 Development Board // universal timer driver code // punctual atom @ alientek // 2010/6/1 u8 num; // timer 3 interrupt service program // 2 ms interrupt 1 void tim3_irqhandler (void) {If (tim3-> Sr 0x0001) // overflow interrupt {num = num + 1;} tim3-> Sr = ~ (1
# Include "sys. H "# include" usart. H "// stm32 serial port sampling and meter stepper motor control
Running Android program, press the home key to return to the desktop, click on the program icon at the time to avoid restarting the program solution again example: a android program contains two Activity, respectively mainactivity and otheractivity,activity for program
C # program A sends log records to program B, program B processes and parses log recordsKeywords: C #; Log record; online log record; Socket;httplistenerFirst, the common scene1, app development, in the real machine or virtual machine run by H5 or Apicloud program, or debugging someone else to write the
Please provide the program. The function is to get the running duration of "a piece of program code" and provide the program code
One day I saw a few java questions, so I wrote a little bit. I just went straight to the code.
3. Known int-type array arr [t],
Please: ① print the array. The output format is [arr1, arr2, arr3,...].
② The maximum and minimum values of
For example, an Android program contains two activity, mainactivity and otheractivity,mainactivity for program-initiated activity. If the program is located in Otheractivity, click the Home button, the program returns to the desktop,In the second click of the program icon, t
Android-day program: painting Program-painting finger path, android-day program
This program achieves the effect of drawing with your fingers in a canvas.
Knowledge required:
1 Canvas, dynamically save and update the current screen
2 Path: Record and draw the Path through which the shot contacts the screen.
As shown be
This article describes how to use python to generate executable windows.ProgramAnd port it to other environments without python.
The previous article briefly introduced how to package the command line program: Windows environment, Python package the command line program.
The program list is as follows:
E: \ projects_python \ simplewindow \ window. pyw (sour
[C Language Program] today is the birthday of the mother of the motherland. I specially wrote a small program to celebrate the birth of the mother of the motherland ~, Language Program celebration
# Include # Define N 80
Int main (int argc, char * argv []) {Char a [N];Printf ("Hello, where are you from? \ N ");Gets ();If (strcmp (a, "China") = 0 | strcmp (a, "t
1. In Windows, query the port occupation and clearing the port occupation programs
1. query the process ID occupied by the port
Click "start" --> "run", enter "cmd", and click "OK" to enter the DOS window. Then run the following commands respectively:
Netstat-a-n port usageNetstat-ano port occupation and process PIDNetstat-Aon | findstr "80"C: \ Users \ ADMIN> netstat-Aon | findstr "80"TCP 127.0.0.1: 9080 0.0.0.0: 0 listening 4632
2. view the application corresponding to the port numberTasklist
Need to refer to SHELLAPI unit;Procedure Tform1.button1click (Sender:tobject); var seinfo:tshellexecuteinfo; Exitcode:dword; Executefile, paramstring, startinstring:string; Begin Executefile: = ' c:\Windows\system32\Calc.exe '; Fillchar (Seinfo, SizeOf (seinfo), #0); Seinfo.cbsize: = SizeOf (Tshellexecuteinfo); With Seinfo do begin fmask: = see_mask_nocloseprocess; Wnd: = Application.handle; Lpfile: = PChar (Executefile); Paramstring can contain the applicatio
Communication Programming game Programming Multimedia Linux plug-in programming API image processing embedded/Microcontroller database programming console process and thread Network security assembly language Hardware programming software Design Engineering Standard Rules. The generation of programming languages or tools including, but not limited to, the following ranges:C/c++/c# WriteJava Write generationIt generationPython writesTutoring Programming JobsThe MATLAB Generation writesHaskell wr
Problem description:
The Win32 SDK is used for programming. The dialogbox () function is used in the main window. After the list control Control is added to the window,ProgramExit as soon as you run the command. After the list control Control is deleted, the program can run normally.
Solution Process: Debugging found that after list control is added to the dialog box, the returned value of dialogbox is-1, while the returned value of getlasterror (
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.