HD Audio 44.1 SPDIF - audio

It has been known that integrated audio codecs (on board) CAN'T natively play 44.1 sample rate via analog jacks. But whether they also can't do it via digital toss-link output? resample occurs in this case too?

Related

Can Linux determine the parameters of an S/PDIF stream?

I have an external audio source that transmits audio data to my computer's sound card via S/PDIF. The sound card has an S/PDIF input. With "arecord" or "audacity" I can record over this input without any problems.
The audio source offers the data in different sample rates (32 kHz, 44.1 kHz, 48 kHz) which I cannot influence. I also can't tell from the source which sample rate the audio source has selected.
For "recording" I would now very much like to keep the sample rate and not have it converted (apparently by the sound card).
Now finally my question: Can I somehow detect with the help of Linux in which format and with which parameters the S/PDIF stream is encoded

Click noise in ALSA playback

I have configured ALSA for 44.1 KHZ . The alsa framework is used to capture data from the analog input using "snd_pcm_readi" api. But in our application we find that there is a click noise in the background for playback. The click noise is available in the playback even when there is no analog input, this ensures that there is no buffering issue.But we were not able to get the cause for the click noise.

Resampling audio output for A2DP (from PCM WAV)

How do I bring stereo PCM WAV 32,000Hz with a stream of 1024 kbps (125 KB) to the headset with Bluetooth 2.1 on a CM7 smartphone with DSPManager? Is this possible? SBC is really a bad idea.
Maybe it's possible with the Headset Profile (HSP)? I don`t know about supported codecs in this profile.
#TJD: Because it compresses the compressed stream. My Epic 4G don`t have Apt-X support. My headset Gemix BH-04A yellow.

With Python/PySide/PyQt/Phonon how to control a USB Soundcards output sample clock rate?

I am trying to O/P audio to a USB soundcard (Lindy PnP SoundCard device) via Python/PySide/PyQT by the use of Phonon and/or QTMultimedia.
I can O/P the aduio (mp3/wav) which is no problem - the issue is that I want to control the USB's output sample clock rate, I need to be able to change this from 44.1 to 48 kHz. The soundcard comes with its own s/w that allows this so it is possible.
I can play Audio through Phonon like so..
self.mediaObj=phonon.Phonon.MediaObject(self)
self.audioSink=Phonon.AudioOutput(Phonon.MusicCategory, self)
self.audioPath=Phonon.createPath(self.mediaObj, self.audioSink)
self.audioSink.setVolume(0.3)
However I do not see any way to change the sample clock rate of the USB device from looking at the Class Reference doc's it seems its not possible.
http://www.pyside.org/docs/pyside/PySide/phonon/index.html
So then I have tried to use Qt Multimedia to change the USB soundcards O/P clock rate..
format = QtMultimedia.QAudioFormat()
format.setChannels(2)
format.setFrequency(44100)
format.setSampleSize(16)
format.setByteOrder(QtMultimedia.QAudioFormat.LittleEndian)
format.setSampleType(QtMultimedia.QAudioFormat.SignedInt)
This has no effect. Does anyone know how I would do this and if it is even possible with Phonon/PyQT? I am guessing I need to go lower and try find the USB Soundcard directly which will be messy..
Much appeciate any help!!
Alan

Audio capture to a file using DirectShow from a mic (Any alternative to 'AudioRecorder WAV Dest' )

reference: http www codeproject com/KB/audio-video/cacsave.aspx?msg=3094764#xx3094764xx
I can't find anything like 'AudioRecorder WAV Dest'. Is there any alternative for this as in my PC graphEdit shows these: (Part 1 n related has worked nicely.)
WM Speech Encoder DMO,
WMAudio Encoder DMO,
IAC2,
IMA ADPCM,
PCM,
Microsoft ADPCM,
ACELP.net,
DSP Group TrueSpeech(TM),
Windows Media Audio V1,
Windows Media Audio V2,
GSM 6.10,
Microsoft G.723.1,
CCITT A-Law,
CCITT u-Law,
MPEG Layer-3,
Realtek HD Audio output,
Default DirectSound Device,
Default WaveOut Device,
DirectSound: Realtek HD Audio output,
WMAudio Decoder DMO,
WMSpeech Decoder DMO,
Mpeg4s Decoder DMO,
WMV Screen decoder DMO,
WMVideo Decoder DMO,
Mpeg43 Decoder DMO,
Mpeg4 Decoder DMO,
WMT MuxDeMux Filter,
Full Screen Renderer,
DV Muxer,
Color Space Converter,
WM ASF Reader,
AVI Splitter,
WMT AudioAnalyzer,
VGA 16 Color Ditherer,
Indeo® video 5.10 Compression Filter,
Windows Media Audio Decoder,
VideoSync Extended Filter for OpenCV,
AC3 Parser Filter,
WMT Format Conversion,
StreamBufferSink,
CalibFilter,
WMT Black Frame Generator,
MJPEG Decompressor,
Indeo® video 5.10 Decompression Filter,
WMT Screen Capture filter,
Microsoft Screen Video Decompressor,
MPEG-I Stream Splitter,
SAMI (CC) Parser,
MPEG Layer-3 Decoder,
MPEG-2 Splitter,
ACELP.net Sipro Lab Audio Decoder,
Internal Script Command Renderer,
MPEG Audio Decoder,
File Source (Netshow URL),
WMT Import Filter,
DV Splitter,
Bitmap Generate,
Windows Media Video Decoder,
Video Mixing Renderer 9,
Windows Media Video Decoder,
WMT VIH2 Fix,
Record Queue,
Windows Media Multiplexer,
ASX file Parser,
ASX v.2 file Parser,
NSC file Parser,
ACM Wrapper,
Windows Media source filter,
Video Renderer,
Frame Eater,
MPEG-2 Video Stream Analyzer,
Line 21 Decoder,
Video Port Manager,
WST Decoder,
Video Renderer,
WM ASF Writer,
WMT Sample Information Filter,
VBI Surface Allocator,
Microsoft MPEG-4 Video Decompressor,
File writer,
WMT Log Filter,
WMT Virtual Renderer,
DVD Navigator,
Overlay Mixer2,
AVI Draw,
.RAM file Parser,
WMT DirectX Transform Wrapper,
G.711 Codec,
MPEG-2 Demultiplexer,
DV Video Decoder,
Indeo® audio software,
Windows Media Update Filter,
ASF DIB Handler,
ASF ACM Handler,
ASF ICM Handler,
ASF URL Handler,
ASF JPEG Handler,
ASF DJPEG Handler,
ASF embedded stuff Handler,
9x8Resize,
WIA Stream Snapshot Filter,
ProxyTrans,
Allocator Fix,
SampleGrabber,
Null Renderer,
WMT Virtual Source,
WMT Interlacer,
StreamBufferSource,
Smart Tee,
Overlay Mixer,
AVI Decompressor,
Uncompressed Domain Shot Detection FilterAVI/WAV File Source,
QuickTime Movie Parser,
Wave Parser,
MIDI Parser,
Multi-file Parser,
File stream renderer,
XML Playlist,
AVI Mux,
Line 21 Decoder 2,
File Source (Async.),
File Source (URL),
WMT DV Extract,
WMT Switch Filter,
WMT Volume,
Stretch Video,
Infinite Pin Tee Filter,
QT Decompressor,
MPEG Video Decoder,
Indeo® video 4.4 Decompression Filter,
Indeo® video 4.4 Compression Filter,
Default MidiOut Device,
Microsoft GS Wavetable SW Synth,
MSScreen encoder DMO,
WMVideo9 Encoder DMO,
MSScreen 9 encoder DMO,
DV Video Encoder,
Indeo® video 5.10 Compression Filter,
MJPEG Compressor,
Cinepak Codec by Radius,
Intel 4:2:0 Video V2.50,
Intel Indeo(R) Video R3.2,
Intel Indeo® Video 4.5,
Indeo® video 5.10,
Intel IYUV codec,
Microsoft H.261 Video Codec,
Microsoft H.263 Video Codec,
Microsoft RLE,
Microsoft Video 1,
Realtek HD Digital input,
Realtek HD Audio Input.
And which one is the common Name exists in almost all windows PC to save a wave file. For now for WinXPSP2+.
-Rahul
Wav dest is an example that you can compile from the DirectShow examples that come with the SDK. You can compile it up and register it.
It does suffer from limitations surrounding the 2gig wave file limit (This was a big problem for me using 64-channel audio). I have found that using the AVI Mux filter (CLSID_AviDest) is a great way of getting round the limitations of the wave file format.

Resources