AuSoundRecordToFile - Online Linux Manual PageSection : 3
Updated : 1.9.4
Source : soundlib

NameAuSoundRecordToFile − create a flow to record to a file.

Synopsis#include <audio/audiolib.h>
#include <audio/soundlib.h> AuEventHandlerRec *AuSoundRecordToFile(server, filename, source, gain, callback, callback_data, mode, file_format, comment, rate, data_format, flow, volume_mult_elem, status)

    
AuServer *server;

    char *
filename;

    
AuDeviceID source;

    
AuFixedPoint gain;

    void (*
callback) (AuServer *, AuEventHandlerRec *, AuEvent *, AuPointer);

    
AuPointer callback_data;

    int
mode;

    int
file_format;

    char *
comment;

    
AuUint32 rate;

    int
data_format;

    
AuFlowID *flow; /* RETURN */

    int *
volume_mult_elem; /* RETURN */

    
AuStatus *status; /* RETURN */

Argumentsserver Specifies the connection to the audio server. filename Specifies the name of the file to record to. source Specifies the input device to use. gain Specifies the gain for the input device. callback Specifies the procedure to be called for additional event processing. callback_data Specifies any additional arguments to be passed to the callback. mode Specifies the line mode for the input device. Currently the following line modes are defined: AuDeviceInputModeNone, AuDeviceInputModeLineIn, AuDeviceInputModeMicrophone. file_format Specifies the file format. Currently, the following file formats are supported: SoundFileFormatSnd, SoundFileFormatVoc, SoundFileFormatWave, SoundFileFormatAiff, SoundFileFormatSvx. comment Specifies a comment to embedded in the file. rate Specifies the sample rate to record at. data_format Specifies the data format. Currently, the following data formats are defined: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormatLinearUnsigned16LSB. flow If non-NULL, returns the flow ID. volume_mult_elem Accord to the comment in the source, not implemented. status If non-NULL, flush the output buffer and return the status from the server.

DescriptionAuSoundRecordToFile creates a flow to record from source to filename and returns a pointer to the event handler created or NULL if there was an error.

ErrorsAuBadDevice.

See AlsoAuSoundRecord, AuSoundRecordToBucket, AuSoundRecordToData, AuSoundRecordToFileN. audiolib − Network Audio System C Language Interface
0
Johanes Gumabo
Data Size   :   14,953 byte
man-AuSoundRecordToFile.3xBuild   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 256,084
Visitor ID   :     :  
Visitor IP   :   3.15.1.23   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.