Re: question about sampling rate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Clemens,
 
yes, i did set the alternate setting. The currrent endpoint should be able to handle the stream data since the maxpacketsize is 56, the max sampling rate it support is 55kHz, but as I mentioned in my previous email, it's only noise that I can hear from the speaker.
 
I used a converted raw data in hex format, I am not really sure what is the sampling bit, sampling rate or number of channels used when conversion was made to the raw data, I am in doubt the sampling bit / channels does  not fit with my experimentations.
 
Can you recommend some application that will allow me to convert small wav to hex as array of characters that I could use to stream.
 
Thank you very much once again,
 
grace

 
On 7/18/06, Clemens Ladisch <clemens@xxxxxxxxxx> wrote:
Grace Baldonasa wrote:
> I am not yet handling the fractional part of frame size, would it be cause
> of the distorted sound?

There shouldn't be too much noise in this case.

> The endpoint says, adaptive synchrnonization,

Then it should be able to handle a frequency that is 0.25% off.

> >How did you set the sample format?  Are there endpoint-specific
> >controls?
>
> no endpoint specific control is set. sample format is based on the max
> sampling frequency from the format descriptor.

Did you set the altsetting, or how does the device know about the
current sample format?


Regards,
Clemens

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux